-
Bug
-
Resolution: Done
-
Major
-
None
-
4.19
-
None
-
None
-
Proposed
-
False
-
Description of problem:
Default security context is only applied to deployments. For example the FeatureGateGenerationJob doesn't have a default security policy, so it may run as root.
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. Deploy 4.19 2. Look at the pod that the FeatureGateGenerationJob created
Actual results:
the spec for the pod does not contain a securityContext
Expected results:
the spec should contain a runAsUser in the securityContext
Additional info:
- is duplicated by
-
OCPBUGS-57331 Default security context is only applied to deployments
-
- New
-