-
Notifications
You must be signed in to change notification settings - Fork 763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
constraint status error in 3.17.0-rc #3492
Comments
This seems to be caused by https://github.com/open-policy-agent/gatekeeper/blob/master/pkg/controller/constraint/constraint_controller.go#L565 |
…gent#3492 Signed-off-by: Jaydip Gabani <[email protected]>
@ritazh I seem to be encountering this issue on v3.17.0. I thought it might've been related to the recent template library updates, but those still work on v3.16.3. Examples below: pss-baseline-v2022-host-namespaces-hostnetwork:
pss-baseline-v2022-proc-mount-type:
&
|
Might be bugs in the VAP-CEL in the constraint template. hostnamespaces-hostnetwork may be fixed by this: open-policy-agent/gatekeeper-library#589 if you had been exempting kube-proxy container, this PR may fix that: |
Using cel expression https://github.com/open-policy-agent/gatekeeper-library/blob/master/artifacthub/library/general/requiredlabels/1.1.1/template.yaml#L47 and 3.17.0-rc results in
failed expression
orConditions are not satisfied to generate ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding, cannot generate ValidatingAdmissionPolicyBinding
The text was updated successfully, but these errors were encountered: