When deploying, with OpenShift 4.11, I get the following warning:
W1013 15:29:22.613598 136837 warnings.go:70] would violate PodSecurity "restricted:v1.24": allowPrivilegeEscalation != false (container "service" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container "service" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or container "service" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container "service" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")
When deploying, with OpenShift 4.11, I get the following warning:
I think we need to add the following to all pods:
I think we should:
include
to add this the same way throughout the deploymentvalues.yaml
file, so that we can override it