Nested objects not validating #207
Unanswered
hadiulla
asked this question in
Gatekeeper
Replies: 1 comment 2 replies
-
@hadiulla where's the policy? :) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I have a policy to restrict certain PVCs to be created.
The policy works fine (gives violation error) when deploying the above PVC. However if the same PVC is deployed as part of statefulset, then statefulset is created successfully and PVC is not created (as expected). But it doesn't show any error or violation when deployed as statefulset.
NOTE: The policy denies creation of PVC which has value in
storageClassName
. Doesn't show any violation when deployed from statefulset.Edit: Here is the policy violation
Beta Was this translation helpful? Give feedback.
All reactions