Skip to content

Commit fdaf254

Browse files
openshift upgrade remove scc
1 parent 934dbbd commit fdaf254

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

content/operate/kubernetes/security/enable-privileged-mode.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ OpenShift users upgrading to 7.22.0-6 need to make changes to your existing SCC
6464

6565
If running in **unprivileged mode**, remove the custom `redis-enterprise-scc-v2` SCC and unbind it from the REC service account after completing your upgrade.
6666

67+
```sh
68+
oc delete scc/redis-enterprise-scc-v2
69+
```
70+
71+
```sh
72+
oc adm policy remove-scc-from-user redis-enterprise-scc-v2 -z <service-account-name>
73+
```
74+
6775
If running in **privileged mode**, manually reapply the [security context constraints (SCC)](https://docs.openshift.com/container-platform/4.8/authentication/managing-security-context-constraints.html) file ([`scc.yaml`]({{< relref "/operate/kubernetes/deployment/openshift/openshift-cli#deploy-the-operator" >}})) and rebind it to the REC service account.
6876

6977
```sh

0 commit comments

Comments
 (0)