Skip to content

Commit 8187d45

Browse files
bysnupyopenshift-cherrypick-robot
authored andcommitted
Correct the procedure to disable the policy as code
To disable the policy as code, required to specify "Disabled" instead of "Enabled" at the "spec.configAsCode.configAsCodeComponent". In Helm case, "configAsCode.enabled" field should be "false" instead of "true" - Reference: https://issues.redhat.com/browse/ROX-28674
1 parent ee1861a commit 8187d45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/policy-as-code-disable.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ The policy as code feature is automatically enabled when you install {product-ti
1212

1313
To disable the policy as code feature, complete one of the following tasks, depending on the method you used to install {product-title-short}:
1414

15-
* If you installed {product-title-short} by using the Operator, set the `spec.configAsCode.configAsCodeComponent` field to `Enabled`.
16-
* If you installed {product-title-short} by using Helm charts, set the `configAsCode.enabled` field in the `values.yaml` file to `true`.
15+
* If you installed {product-title-short} by using the Operator, set the `spec.configAsCode.configAsCodeComponent` field to `Disabled`.
16+
* If you installed {product-title-short} by using Helm charts, set the `configAsCode.enabled` field in the `values.yaml` file to `false`.
1717
* If you installed {product-title-short} by using the manifest installation method, also known as the `roxctl` method, delete the `config-controller` deployment by running the following command:
1818
+
1919
[source,terminal]

0 commit comments

Comments
 (0)