Skip to content

Commit c21d206

Browse files
Merge pull request #95038 from kcarmichael08/ROX-29352-policy-as-code-ga
ROX-29352: Remove Technology Preview labels from policy as code
2 parents baa2261 + 3e14f42 commit c21d206

File tree

6 files changed

+9
-26
lines changed

6 files changed

+9
-26
lines changed

installing/installing_ocp/install-central-ocp.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,4 @@ include::modules/install-roxctl-cli-windows.adoc[leveloffset=+3]
112112
include::modules/using-the-interactive-installer.adoc[leveloffset=+2]
113113

114114
include::modules/install-central-roxctl.adoc[leveloffset=+2]
115+

installing/installing_other/install-central-other.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,4 @@ include::modules/install-roxctl-cli-windows.adoc[leveloffset=+3]
8080
include::modules/using-the-interactive-installer.adoc[leveloffset=+2]
8181

8282
include::modules/install-central-roxctl.adoc[leveloffset=+2]
83+

modules/install-central-roxctl.adoc

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// * installing/install_ocp/install-central-ocp.adoc
44
// * installing/install_other/install-central-other.adoc
5+
// * backup_and_restore/restore-acs.htm
56
:_mod-docs-content-type: PROCEDURE
67
[id="install-central-roxctl_{context}"]
78
= Running the Central installation scripts
@@ -14,6 +15,10 @@ ifeval::["{context}" == "install-central-other"]
1415
:kube:
1516
endif::[]
1617

18+
ifeval::["{context}" == "restore-acs"]
19+
:openshift:
20+
endif::[]
21+
1722
After you run the interactive installer, you can run the `setup.sh` script to install Central.
1823

1924
.Procedure
@@ -23,27 +28,6 @@ After you run the interactive installer, you can run the `setup.sh` script to in
2328
----
2429
$ ./central-bundle/central/scripts/setup.sh
2530
----
26-
. To enable the policy as code feature (Technology Preview), manually apply the `config.stackrox.io` CRD that is located in the .zip file at `helm/chart/crds/config.stackrox.io_securitypolicies.yaml`.
27-
+
28-
--
29-
:FeatureName: Policy as code
30-
include::snippets/technology-preview.adoc[]
31-
32-
To apply the CRD, run the following command:
33-
34-
ifdef::openshift[]
35-
[source,terminal]
36-
----
37-
$ oc create -f helm/chart/crds/config.stackrox.io_securitypolicies.yaml
38-
----
39-
endif::openshift[]
40-
ifdef::kube[]
41-
[source,terminal]
42-
----
43-
$ kubectl create -f helm/chart/crds/config.stackrox.io_securitypolicies.yaml
44-
----
45-
endif::kube[]
46-
--
4731
. Create the necessary resources:
4832
+
4933
ifdef::openshift[]

modules/policy-as-code-about.adoc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99

1010
You can create and manage policies as code by saving policies as Kubernetes custom resources (CRs) and applying them to clusters by using a Kubernetes-native continuous delivery (CD) tool such as Argo CD.
1111

12-
:FeatureName: Policy as code
13-
include::snippets/technology-preview.adoc[]
14-
1512
Policy as code is useful for Kubernetes security architects who want to author policies in YAML or JSON instead of using the {product-title-short} portal. GitOps administrators who already manage Kubernetes configurations by using a GitOps workflow can also find it useful.
1613

1714
{product-title-short} provides the ability to use default policies or create custom policies for your system. With the policy as code feature, you can create custom policies locally by downloading them and modifying them, or by creating them from empty files. To author policies locally, you create CRs that represent the desired state of the policies. You then use a continuous delivery tool such as Argo CD to track, manage, and apply policies to your clusters that are running {product-title-short}. After you create or update CRs and use the CI/CD tool to apply them, the policies stored in the {product-title-short} database are created or updated.

modules/upgrade-central-cluster-crds.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// * upgrade/upgrade-roxctl.adoc
44
:_mod-docs-content-type: PROCEDURE
5-
[id="upgrade-central-cluster-crds{context}"]
5+
[id="upgrade-central-cluster-crds_{context}"]
66
= Upgrading the SecurityPolicy custom resource definition
77

88
[role="_abstract"]

modules/upgrade-crd-helm.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// * upgrading/upgrade-helm.adoc
44
:_mod-docs-content-type: PROCEDURE
5-
[id="upgrade-crd-helm{context}"]
5+
[id="upgrade-crd-helm_{context}"]
66
= Preparing the custom resource definition for upgrade
77

88
[role="_abstract"]

0 commit comments

Comments
 (0)