Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

Commit 6d73a5a

Browse files
authored
Update README.md
1 parent 64fda4c commit 6d73a5a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,10 @@ eks.privileged eks:podsecuritypolicy:privileged eks:
195195
pod-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
202202
Managed ClusterRole is not found...Created
203203
Managed 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
226226
Name: psp-util.pod-security-policy-all-20200702180710
@@ -230,9 +230,9 @@ Role:
230230
Kind: ClusterRole
231231
Name: psp-util.pod-security-policy-all-20200702180710
232232
Subjects:
233-
Kind Name Namespace
234-
---- ---- ---------
235-
Group system:authenticated
233+
Kind Name Namespace
234+
---- ---- ---------
235+
Group system:serviceaccounts:default
236236
```
237237
238238
# LICENSE

0 commit comments

Comments
 (0)