Missing configuration for container allowPrivilegeEscalation
What is the issue
Add optional support to configure the container configuration allowPrivilegeEscalation
for K8S deployments that have pod security policies that requires explicit configuration.
How to reproduce
Deploy the helm chart on a K8S instance that has PSP that requires explicit configuration
admission webhook "validation.gatekeeper.sh" denied the request: [denied by psp-allow-privilege-escalation-container] Privilege escalation container is not allowed: test-runner
[denied by psp-allow-privilege-escalation-container] Privilege escalation container is not allowed: configure
How to fix
Make allowPrivilegeEscalation
as optional configuration for pod containers