This repository was archived by the owner on Feb 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -195,10 +195,10 @@ eks.privileged eks:podsecuritypolicy:privileged eks:
195195pod-security-policy-all-20200702180710
196196```
197197
198- Attach the PSP to Group named `system:authenticated `
198+ Attach the PSP to Group named `system:serviceaccounts:default `
199199
200200```shell
201- $ kubectl psp-util attach pod-security-policy-all-20200702180710 --group system:authenticated
201+ $ kubectl psp-util attach pod-security-policy-all-20200702180710 --group system:serviceaccounts:default
202202Managed ClusterRole is not found...Created
203203Managed ClusterRoleBinding is not found...Created
204204```
@@ -220,7 +220,7 @@ $ kubectl psp-util tree
220220📙 PSP pod-security-policy-all-20200702180710
221221└── 📕 ClusterRole psp-util.pod-security-policy-all-20200702180710
222222 └── 📘 ClusterRoleBinding psp-util.pod-security-policy-all-20200702180710
223- └── 📗 Subject{Kind: Group, Name: system:authenticated , Namespace: }
223+ └── 📗 Subject{Kind: Group, Name: system:serviceaccounts:default , Namespace: }
224224
225225$ kubectl describe clusterrolebindings psp-util.pod-security-policy-all-20200702180710
226226Name: psp-util.pod-security-policy-all-20200702180710
@@ -230,9 +230,9 @@ Role:
230230 Kind: ClusterRole
231231 Name: psp-util.pod-security-policy-all-20200702180710
232232Subjects:
233- Kind Name Namespace
234- ---- ---- ---------
235- Group system:authenticated
233+ Kind Name Namespace
234+ ---- ---- ---------
235+ Group system:serviceaccounts:default
236236```
237237
238238# LICENSE
You can’t perform that action at this time.
0 commit comments