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
When allowPrivilegeEscalation is enabled (set to true) on SecurityContext, the following error is encountered regardless of the value set for DefaultAllowPrivilegeEscalation (true or false).
one of the containers has privilege escalation enabled
Expected Behavior
If allowPrivilegeEscalation is set to true and DefaultAllowPrivilegeEscalation is set to true, should not presented with an error.
Steps To Reproduce
Set DefaultAllowPrivilegeEscalation to true for allow-privilege-escalation-psp-policy
Set the following on one of the containers: securityContext: allowPrivilegeEscalation: true
Environment
- OS: Linux
Anything else?
This block of code appears to disallow/reject a container with securityContext enabled. Even if ``DefaultAllowPrivilegeEscalation` is true. Should not the container allowed?
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
When
allowPrivilegeEscalation
is enabled (set totrue
) on SecurityContext, the following error is encountered regardless of the value set forDefaultAllowPrivilegeEscalation
(true
orfalse
).one of the containers has privilege escalation enabled
Expected Behavior
If
allowPrivilegeEscalation
is set totrue
andDefaultAllowPrivilegeEscalation
is set totrue
, should not presented with an error.Steps To Reproduce
DefaultAllowPrivilegeEscalation
totrue
for allow-privilege-escalation-psp-policysecurityContext: allowPrivilegeEscalation: true
Environment
- OS: Linux
Anything else?
This block of code appears to disallow/reject a container with securityContext enabled. Even if ``DefaultAllowPrivilegeEscalation` is true. Should not the container allowed?
The text was updated successfully, but these errors were encountered: