Skip to content

Commit 9ac0ba5

Browse files
committed
OCPBUGS#3646: service account is used to admit the pods
1 parent 0508c13 commit 9ac0ba5

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+
[NOTE]
384+
====
385+
When you create a workload resource, such as a deployment, only the service account is used to find the SCCs and is used to admit the pods when they are created.
386+
====
387+
383388
[IMPORTANT]
384389
====
385390
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.

0 commit comments

Comments
 (0)