Closed martijnvdp closed 1 week ago
this https://github.com/open-policy-agent/gatekeeper/blob/1b2e626653b375f3957ca48616508681229501cf/vendor/github.com/open-policy-agent/frameworks/constraint/pkg/client/drivers/k8scel/schema/schema.go#L280 always seem to return the error "K8sNativeValidation code not defined" when a template only has Rego
What steps did you take and what happened: [A clear and concise description of what the bug is.] seeing generateVap errors for all my rego-only constraint templates in audit/controller pod logs after updating gatekeeper to 3.17.0
What did you expect to happen: i would not expect these errors with this new gatekeeper version as i'm using rego only policies and gatekeeper only to generate vap for cel k8snative engine policies not for rego policies
Anything else you would like to add: happens with all my templates most of them are pulled from the policy library , ie: https://github.com/open-policy-agent/gatekeeper-library/blob/master/library/pod-security-policy/host-namespaces/template.yaml
Environment: