OPA Rego to deny storageclass annotate as default if name not default #178
Unanswered
cmwatts1974
asked this question in
OPA and Rego
Replies: 1 comment 3 replies
-
Your policy looks fine, but I don't see any A bit of an unrelated nit, but it's often better (as in, clearly shows intent) to use |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello I am new to OPA policy and was looking for some input on creating a .rego that would deny service creation of a storageclass annotated as default unless name is default. See below from what I have so far that is not working.
Beta Was this translation helpful? Give feedback.
All reactions