Skip to content

Commit f1c625a

Browse files
committed
OCPBUGS#29653: Added note about the --overwrite flag
1 parent f87f538 commit f1c625a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

modules/security-context-constraints-psa-opting.adoc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ You can enable or disable automatic pod security admission synchronization for m
1010

1111
[IMPORTANT]
1212
====
13-
You cannot enable pod security admission synchronization on
13+
You cannot enable pod security admission synchronization on
1414
ifndef::openshift-dedicated,openshift-rosa[]
1515
some
1616
endif::openshift-dedicated,openshift-rosa[]
@@ -20,6 +20,8 @@ system-created namespaces. For more information, see _Pod security admission syn
2020
.Procedure
2121

2222
* For each namespace that you want to configure, set a value for the `security.openshift.io/scc.podSecurityLabelSync` label:
23+
+
24+
--
2325
** To disable pod security admission label synchronization in a namespace, set the value of the `security.openshift.io/scc.podSecurityLabelSync` label to `false`.
2426
+
2527
Run the following command:
@@ -37,3 +39,9 @@ Run the following command:
3739
----
3840
$ oc label namespace <namespace> security.openshift.io/scc.podSecurityLabelSync=true
3941
----
42+
--
43+
+
44+
[NOTE]
45+
====
46+
Use the `--overwrite` flag to overwrite the value if this label is already set on the namespace.
47+
====

0 commit comments

Comments
 (0)