-
Bug
-
Resolution: Done
-
Major
-
4.19.0
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
None
-
None
-
Rejected
-
None
-
Done
-
Release Note Not Required
-
N/A
-
None
-
None
-
None
-
None
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:
- duplicates
-
OCPBUGS-57332 Default security context is only applied to deployments
-
- Closed
-
- links to