Skip to content

Commit 8a1b4b6

Browse files
authored
Merge pull request #53264 from xenolinux/bug1894063
BZ1894063: Added important block on using pods deployment in SSC
2 parents e39c421 + bde949e commit 8a1b4b6

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
@@ -380,6 +380,11 @@ user identity and groups that the user belongs to. Additionally, if the pod
380380
specifies a service account, the set of allowable SCCs includes any constraints
381381
accessible to the service account.
382382

383+
[IMPORTANT]
384+
====
385+
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.
386+
====
387+
383388
Admission uses the following approach to create the final security context for
384389
the pod:
385390

0 commit comments

Comments
 (0)