Skip to content

Commit 34ac4dc

Browse files
authored
[RHOAIENG-11034] - Disabling Authorino Token Authorization forces a Model Pod to rollout (#444)
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]>
1 parent 66b6202 commit 34ac4dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/constants/constants.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,9 @@ var (
368368
autoscaling.MaxScaleAnnotationKey,
369369
StorageInitializerSourceUriInternalAnnotationKey,
370370
"kubectl.kubernetes.io/last-applied-configuration",
371+
// remove when https://issues.redhat.com/browse/RHOAIENG-15662 is merged on community and ported to ODH
372+
// Plus, this annotation must be moved to the inferenceservice-config
373+
"security.opendatahub.io/enable-auth",
371374
}
372375

373376
RevisionTemplateLabelDisallowedList = []string{

0 commit comments

Comments
 (0)