Closed kravciak closed 1 year ago
~ kwctl pull ghcr.io/kubewarden/policies/pod-privileged:latest ~ kwctl scaffold manifest --type=ClusterAdmissionPolicy registry://ghcr.io/kubewarden/policies/pod-privileged:latest > yaml ~ kubectl apply -f yaml error: error validating "yaml": error validating data: ValidationError(ClusterAdmissionPolicy.spec): unknown field "backgroundAudit" in io.kubewarden.policies.v1.ClusterAdmissionPolicy.spec; if you choose to ignore these errors, turn validation off with --validate=false ~ kwctl -V kwctl 1.5.2 ~ kubectl version --short Client Version: v1.25.4 Server Version: v1.24.9+k3s2
I think we should update kwctl to not scaffold this field. At least until the background checks feature isn't merged.
kwctl
@kubewarden/kubewarden-developers what do you think?
Closing, this has been fixed
Is there an existing issue for this?
Current Behavior