Open jvanz opened 2 years ago
This policy already support this, however we should use the latest changes from the SDK in all policies. So it needs some refactoring.
Blocked until https://github.com/kubewarden/policy-sdk-rust/issues/63 is merged
Blocked until kubewarden/policy-sdk-rust#63 is merged
This is merged and released. ;)
Update the policy from targeting Pod resource to target higher level objects like deployments. This is a better practice because we prevent the resources to be created instead of failing in the deployment phase when the pods are created.