Skip to content

Commit bc09e1b

Browse files
CHAOS: openshift code fix (#11655)
* chaos minor code fixes * wip
1 parent 6219278 commit bc09e1b

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

docs/chaos-engineering/security/security-templates/openshift-scc.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,14 @@ You can leverage all the [permissions mentioned](#run-service-account-as-a-clust
2020

2121
### Create a new service account
2222

23-
Execute the below commands:
23+
**Note:** This procedure is for automatically created service accounts. If you're using a pre-existing user-defined service account, you can skip the service account creation step and proceed directly to linking it with the Security Context Constraint.
2424

25-
```
26-
install litmus-admin service account
27-
```
25+
Execute the below commands:
2826

2927
```bash
30-
$ oc apply -f https://litmuschaos.github.io/litmus/litmus-admin-rbac.yaml
28+
$ oc create serviceaccount litmus-admin
3129

3230
serviceaccount/litmus-admin created
33-
clusterrole.rbac.authorization.k8s.io/litmus-admin created
34-
clusterrolebinding.rbac.authorization.k8s.io/litmus-admin created
35-
3631
```
3732

3833
### Run service account as a cluster admin

0 commit comments

Comments
 (0)