Skip to content

Commit a19be61

Browse files
authored
Merge pull request #36857 from rh-tokeefe/OSSMDOC-404
OSSMDOC-404 Update control plane profiles documentation
2 parents e5c9477 + dacd7fb commit a19be61

File tree

1 file changed

+1
-42
lines changed

1 file changed

+1
-42
lines changed

modules/ossm-control-plane-profiles.adoc

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ When you configure control plane profiles, which follow the same syntax as the `
1212
[id="ossm-create-configmap_{context}"]
1313
== Creating the ConfigMap
1414

15-
To add custom profiles, you must first create a ConfigMap named `smcp-templates` in the `openshift-operators` project and then mount the ConfigMap in the Operator container at: `/usr/local/share/istio-operator/templates`.
15+
To add custom profiles, you must create a `ConfigMap` named `smcp-templates` in the `openshift-operators` project. The Operator container automatically mounts the `ConfigMap`.
1616

1717
.Prerequisites
1818

@@ -32,47 +32,6 @@ To add custom profiles, you must first create a ConfigMap named `smcp-templates`
3232
$ oc create configmap --from-file=<profiles-directory> smcp-templates -n openshift-operators
3333
----
3434

35-
. Locate the Operator ClusterServiceVersion name.
36-
+
37-
[source,terminal]
38-
----
39-
$ oc get clusterserviceversion -n openshift-operators | grep 'Service Mesh'
40-
----
41-
+
42-
.Example output
43-
[source,terminal]
44-
----
45-
maistra.v2.0.0 Red Hat OpenShift Service Mesh 2.0.0 Succeeded
46-
----
47-
48-
. Edit the Operator cluster service version to instruct the Operator to use the `smcp-templates` ConfigMap.
49-
+
50-
[source,terminal]
51-
----
52-
$ oc edit clusterserviceversion -n openshift-operators servicemeshoperator.v2.0.0.1
53-
----
54-
55-
. Add a volume mount and volume to the Operator deployment.
56-
+
57-
[source,yaml]
58-
----
59-
deployments:
60-
- name: istio-operator
61-
spec:
62-
template:
63-
spec:
64-
containers:
65-
volumeMounts:
66-
- name: smcp-templates
67-
mountPath: /usr/local/share/istio-operator/templates/
68-
volumes:
69-
- name: smcp-templates
70-
configMap:
71-
name: smcp-templates
72-
...
73-
----
74-
. Save your changes and exit the editor.
75-
7635
. You can use the `profiles` parameter in the `ServiceMeshControlPlane` to specify one or more templates.
7736
+
7837
[source,yaml]

0 commit comments

Comments
 (0)