Skip to content

Commit 5308012

Browse files
Anthony Sansonejwilliams-mongo
authored andcommitted
(DOCSP-11082) Change apply to replace
1 parent 2fc2d22 commit 5308012

File tree

2 files changed

+19
-21
lines changed

2 files changed

+19
-21
lines changed

source/includes/steps-helm-master.yaml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ replacement:
7777
7878
helm install <chart-name> helm_chart \
7979
--values helm_chart/values-openshift.yaml \
80-
--set registry.imagePullSecrets=<openshift-pull-secret>
80+
--set registry.imagePullSecrets=<openshift-pull-secret>
8181
8282
osoffline: |
8383
@@ -111,9 +111,9 @@ replacement:
111111
112112
.. code-block:: sh
113113
114-
kubectl apply -f crds.yaml
114+
kubectl replace -f crds.yaml
115115
helm upgrade <chart-name> helm_chart \
116-
--values helm_chart/values.yaml
116+
--values helm_chart/values.yaml
117117
118118
.. include:: /includes/install/helm-install-k8s-options.rst
119119
@@ -124,7 +124,7 @@ replacement:
124124
125125
.. code-block:: sh
126126
127-
kubectl apply -f crds.yaml
127+
kubectl replace -f crds.yaml
128128
helm upgrade <chart-name> helm_chart \
129129
--values helm_chart/values.yaml \
130130
--set namespace=<testNamespace>
@@ -135,7 +135,7 @@ replacement:
135135
136136
.. code-block:: sh
137137
138-
kubectl apply -f crds.yaml
138+
kubectl replace -f crds.yaml
139139
helm upgrade <chart-name> helm_chart \
140140
--values helm_chart/values.yaml \
141141
--set registry.pullPolicy=IfNotPresent
@@ -149,7 +149,7 @@ replacement:
149149
150150
.. code-block:: sh
151151
152-
kubectl apply -f crds.yaml
152+
kubectl replace -f crds.yaml
153153
helm install <chart-name> helm_chart \
154154
--values helm_chart/values.yaml \
155155
--set registry.pullPolicy=IfNotPresent \
@@ -163,7 +163,7 @@ replacement:
163163
164164
.. code-block:: sh
165165
166-
oc apply -f crds.yaml
166+
oc replace -f crds.yaml
167167
helm upgrade <chart-name> helm_chart \
168168
--values helm_chart/values-openshift.yaml
169169
@@ -176,7 +176,7 @@ replacement:
176176
177177
.. code-block:: sh
178178
179-
oc apply -f crds.yaml
179+
oc replace -f crds.yaml
180180
helm upgrade <chart-name> helm_chart \
181181
--values helm_chart/values-openshift.yaml \
182182
--set registry.imagePullSecrets=<openshift-pull-secret>
@@ -189,7 +189,7 @@ replacement:
189189
190190
.. code-block:: sh
191191
192-
oc apply -f crds.yaml
192+
oc replace -f crds.yaml
193193
helm upgrade <chart-name> helm_chart \
194194
--values helm_chart/values-openshift.yaml \
195195
--set registry.pullPolicy=IfNotPresent \
@@ -204,7 +204,7 @@ replacement:
204204
205205
.. code-block:: sh
206206
207-
oc apply -f crds.yaml
207+
oc replace -f crds.yaml
208208
helm install <chart-name> helm_chart \
209209
--values helm_chart/values-openshift.yaml \
210210
--set registry.pullPolicy=IfNotPresent \
@@ -331,5 +331,3 @@ replacement:
331331
332332
.. include:: /includes/install/replace-op-and-om-versions.rst
333333
...
334-
335-

source/includes/steps-install-master.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ level: 4
44
ref: install-master-crds
55
replacement:
66
kubectl: |
7-
7+
88
.. code-block:: sh
9-
10-
kubectl apply -f crds.yaml
9+
10+
kubectl replace -f crds.yaml
1111
1212
oc: |
1313
@@ -16,9 +16,9 @@ replacement:
1616
Invoke the following |oc| command:
1717
1818
.. code-block:: sh
19-
20-
oc apply -f crds.yaml
21-
19+
20+
oc replace -f crds.yaml
21+
2222
---
2323
title: "You can edit the Operator |yaml| file to further customize your Operator before {{method}} it."
2424
level: 4
@@ -42,13 +42,13 @@ replacement:
4242
kubectl: |
4343
4444
.. code-block:: sh
45-
46-
kubectl apply -f mongodb-enterprise.yaml
45+
46+
kubectl apply -f mongodb-enterprise.yaml
4747
4848
oc: |
4949
5050
.. code-block:: sh
51-
51+
5252
oc apply -f mongodb-enterprise-openshift.yaml
5353
...
5454

0 commit comments

Comments
 (0)