You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without the last line (which is equivalent to initContainers: null), the policy succeeds.
This situation is common with Helm charts, where list keys are always templated, followed by a loop for the items. It is valid according to the Kubernetes schemas, too.
The text was updated successfully, but these errors were encountered:
Not sure if this is something we can "fix" in Kyverno. With =(initContainers): declaration, it means if the initContainers exists, check the following XYZ.
The sample policy Require runAsNonRoot fails with the following Pod spec:
Without the last line (which is equivalent to
initContainers: null
), the policy succeeds.This situation is common with Helm charts, where list keys are always templated, followed by a loop for the items. It is valid according to the Kubernetes schemas, too.
The text was updated successfully, but these errors were encountered: