Skip to content

Commit

Permalink
[RHOAIENG-11034] - Disabling Authorino Token Authorization forces a M…
Browse files Browse the repository at this point in the history
…odel Pod to rollout

chore:	Adds the `security.opendatahub.io/enable-auth` label to the ServiceAnnotationDisallowedList
	to prevents the model to be rolled out in case the auth is disabled / enabled

Signed-off-by: Spolti <[email protected]>
  • Loading branch information
spolti authored and israel-hdez committed Nov 28, 2024
1 parent 1382a8e commit f7ec4b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,9 @@ var (
autoscaling.MaxScaleAnnotationKey,
StorageInitializerSourceUriInternalAnnotationKey,
"kubectl.kubernetes.io/last-applied-configuration",
// remove when https://issues.redhat.com/browse/RHOAIENG-15662 is merged on community and ported to ODH
// Plus, this annotation must be moved to the inferenceservice-config
"security.opendatahub.io/enable-auth",
}

RevisionTemplateLabelDisallowedList = []string{
Expand Down

0 comments on commit f7ec4b6

Please sign in to comment.