Skip to content

Commit bde949e

Browse files
committed
BZ1894063: Added important block on using pods deployment in SSC
1 parent 1932f8e commit bde949e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/security-context-constraints-about.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,11 @@ user identity and groups that the user belongs to. Additionally, if the pod
319319
specifies a service account, the set of allowable SCCs includes any constraints
320320
accessible to the service account.
321321

322+
[IMPORTANT]
323+
====
324+
When creating pods directly, SCCs admission considers SCC permissions of both the caller and the Service Account that runs the pod. When a pod is created by a pod controller such as a deployment or a job, only Service Account SCC permissions are considered.
325+
====
326+
322327
Admission uses the following approach to create the final security context for
323328
the pod:
324329

0 commit comments

Comments
 (0)