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
According to kubernetes/website#30104 it is not clear if allowPrivilegeEscalation defaults to false or true. The last comments seem to think it is true. So allowPrivilegeEscalation should not be optional.
What policy engine were you generating policy for
Kynvero
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
What happened?
When a PSP has defined
allowPrivilegeEscalation: false
the psp-migration tool generates
but the kyverno policy example show this:
which means securityContext.allowPriviligeEscalation is not optional.
https://github.com/kyverno/policies/blob/4c145c00af932b75ad33f819d8e31aefff30c9c0/pod-security/restricted/disallow-privilege-escalation/disallow-privilege-escalation.yaml#L35C1-L42C50
According to kubernetes/website#30104 it is not clear if allowPrivilegeEscalation defaults to false or true. The last comments seem to think it is true. So allowPrivilegeEscalation should not be optional.
What policy engine were you generating policy for
Kynvero
Relevant log output
No response
The text was updated successfully, but these errors were encountered: