@@ -9,164 +9,207 @@ ref: helm-master-install
99replacement :
1010 k8sonline : |
1111
12- Invoke the following ``helm`` and ``kubectl`` commands :
12+ Invoke the following ``helm`` command :
1313
1414 .. code-block:: sh
1515
16- helm template helm_chart \
17- --values helm_chart/values.yaml > operator.yaml
18- kubectl apply -f operator.yaml
16+ helm install <chart-name> helm_chart \
17+ --values helm_chart/values.yaml
1918
2019 .. include:: /includes/install/helm-install-k8s-options.rst
2120
2221 .. note::
2322
24- You can also pass these values as options when you apply the
23+ Alternatively, you can pass these values as options when you apply the
2524 Helm Chart:
2625
2726 .. code-block:: sh
2827
29- helm template \
30- --set namespace=<testNamespace> \
31- helm_chart \
32- --values helm_chart/values.yaml > operator.yaml
33- kubectl apply -f operator.yaml
28+ helm install <chart-name> helm_chart \
29+ --values helm_chart/values.yaml \
30+ --set namespace=<testNamespace>
31+
3432
3533 k8soffline : |
3634
37- Invoke the following ``helm`` and ``kubectl`` commands :
35+ Invoke the following ``helm`` command :
3836
3937 .. code-block:: sh
4038
41- helm template \
42- --set registry.pullPolicy=IfNotPresent \
43- helm_chart \
44- --values helm_chart/values.yaml > operator.yaml
45- kubectl apply -f operator.yaml
39+ helm install <chart-name> helm_chart \
40+ --values helm_chart/values.yaml \
41+ --set registry.pullPolicy=IfNotPresent
4642
4743 .. include:: /includes/install/helm-install-k8s-options.rst
4844
4945 .. note::
5046
51- You can also pass these values as options when you apply the
47+ Alternatively, you can pass these values as options when you apply the
5248 Helm Chart:
5349
5450 .. code-block:: sh
5551
56- helm template \
52+ helm install <chart-name> helm_chart \
53+ --values helm_chart/values.yaml \
5754 --set registry.pullPolicy=IfNotPresent \
58- --set namespace=<testNamespace> \
59- helm_chart \
60- --values helm_chart/values.yaml > operator.yaml
61- kubectl apply -f operator.yaml
62-
63- osonline : |
55+ --set namespace=<testNamespace>
6456
65- Invoke the following ``helm`` and ``oc`` commands:
6657
67- .. code-block:: sh
58+ osonline : |
6859
69- helm template helm_chart \
70- --values helm_chart/values-openshift.yaml > operator.yaml
71- oc apply -f operator.yaml
60+ .. include:: /includes/install/install-os-311-helm.rst
7261
73- If you run |oc| 3.11 or earlier, add the ``--set subresourceEnabled=false`` :
62+ Invoke the following ``helm`` command :
7463
7564 .. code-block:: sh
7665
77- helm template helm_chart \
78- --values helm_chart/values.yaml \
79- --set subresourceEnabled=false > operator.yaml
80- kubectl apply -f operator.yaml
66+ helm install <chart-name> helm_chart \
67+ --values helm_chart/values-openshift.yaml
8168
8269 .. include:: /includes/install/helm-install-os-options.rst
8370
8471 .. note::
8572
86- You can also pass these values as options when you apply the
73+ Alternatively, you can pass these values as options when you apply the
8774 Helm Chart:
8875
8976 .. code-block:: sh
9077
91- helm template \
92- --set registry.imagePullSecrets=<openshift-pull-secret> \
93- helm_chart \
94- --values helm_chart/values-openshift.yaml > operator.yaml
95- oc apply -f operator.yaml
78+ helm install <chart-name> helm_chart \
79+ --values helm_chart/values-openshift.yaml \
80+ --set registry.imagePullSecrets=<openshift-pull-secret>
9681
9782 osoffline : |
9883
84+ .. include:: /includes/install/install-os-311-helm.rst
85+
86+ Invoke the following ``helm`` command:
87+
9988 .. code-block:: sh
10089
101- helm template \
90+ helm install <chart-name> helm_chart \
91+ --values helm_chart/values-openshift.yaml \
10292 --set registry.pullPolicy=IfNotPresent \
103- --set registry.imagePullSecrets=<openshift-pull-secret> \
104- helm_chart \
105- --values helm_chart/values-openshift.yaml > operator.yaml
106- oc apply -f operator.yaml
93+ --set registry.imagePullSecrets=<openshift-pull-secret>
10794
10895 .. include:: /includes/install/helm-install-os-options.rst
10996
11097 .. note::
11198
112- You can also pass these values as options when you apply the
99+ Alternatively, you can pass these values as options when you apply the
113100 Helm Chart:
114101
115102 .. code-block:: sh
116103
117- helm template \
104+ helm install <chart-name> helm_chart \
105+ --values helm_chart/values-openshift.yaml \
118106 --set registry.pullPolicy=IfNotPresent \
119107 --set registry.imagePullSecrets=<openshift-pull-secret> \
120- --set namespace=<testNamespace> \
121- helm_chart \
122- --values helm_chart/values-openshift.yaml > operator.yaml
123- oc apply -f operator.yaml
108+ --set namespace=<testNamespace>
124109
125110 k8sonlineupgrade : |
126111
127112 .. code-block:: sh
128113
129- helm template helm_chart \
130- --values helm_chart/values.yaml > operator.yaml
131- kubectl apply -f operator .yaml
114+ kubectl apply -f crds.yaml
115+ helm upgrade <chart-name> helm_chart \
116+ --values helm_chart/values .yaml
132117
133118 .. include:: /includes/install/helm-install-k8s-options.rst
134119
135120 .. note::
136121
137- You can also pass these values as options when you apply the
122+ Alternatively, you can pass these values as options when you apply the
138123 Helm Chart:
139124
140125 .. code-block:: sh
141126
142- helm template \
143- --set namespace=<testNamespace> \
144- helm_chart \
145- --values helm_chart/values.yaml > operator.yaml
146- kubectl apply -f operator.yaml
127+ kubectl apply -f crds.yaml
128+ helm upgrade <chart-name> helm_chart \
129+ --values helm_chart/values.yaml \
130+ --set namespace=<testNamespace>
131+
132+ k8sofflineupgrade : |
133+
134+ Invoke the following ``kubectl`` and ``helm`` commands:
135+
136+ .. code-block:: sh
137+
138+ kubectl apply -f crds.yaml
139+ helm upgrade <chart-name> helm_chart \
140+ --values helm_chart/values.yaml \
141+ --set registry.pullPolicy=IfNotPresent
142+
143+ .. include:: /includes/install/helm-install-k8s-options.rst
144+
145+ .. note::
146+
147+ Alternatively, you can pass these values as options when you apply the
148+ Helm Chart:
149+
150+ .. code-block:: sh
151+
152+ kubectl apply -f crds.yaml
153+ helm install <chart-name> helm_chart \
154+ --values helm_chart/values.yaml \
155+ --set registry.pullPolicy=IfNotPresent \
156+ --set namespace=<testNamespace>
147157
148158 osonlineupgrade : |
149159
160+ .. include:: /includes/install/install-os-311-helm.rst
161+
162+ Invoke the following |oc| and ``helm`` commands:
163+
150164 .. code-block:: sh
151165
152- helm template helm_chart \
153- --values helm_chart/values-openshift.yaml > operator.yaml
154- oc apply -f operator .yaml
166+ oc apply -f crds.yaml
167+ helm upgrade <chart-name> helm_chart \
168+ --values helm_chart/values-openshift .yaml
155169
156170 .. include:: /includes/install/helm-install-os-options.rst
157171
158172 .. note::
159173
160- You can also pass these values as options when you apply the
174+ Alternatively, you can pass these values as options when you apply the
161175 Helm Chart:
162176
163177 .. code-block:: sh
164178
165- helm template \
179+ oc apply -f crds.yaml
180+ helm upgrade <chart-name> helm_chart \
181+ --values helm_chart/values-openshift.yaml \
182+ --set registry.imagePullSecrets=<openshift-pull-secret>
183+
184+ osofflineupgrade : |
185+
186+ .. include:: /includes/install/install-os-311-helm.rst
187+
188+ Invoke the following |oc| and ``helm`` commands:
189+
190+ .. code-block:: sh
191+
192+ oc apply -f crds.yaml
193+ helm upgrade <chart-name> helm_chart \
194+ --values helm_chart/values-openshift.yaml \
195+ --set registry.pullPolicy=IfNotPresent \
196+ --set registry.imagePullSecrets=<openshift-pull-secret>
197+
198+ .. include:: /includes/install/helm-install-os-options.rst
199+
200+ .. note::
201+
202+ Alternatively, you can pass these values as options when you apply the
203+ Helm Chart:
204+
205+ .. code-block:: sh
206+
207+ oc apply -f crds.yaml
208+ helm install <chart-name> helm_chart \
209+ --values helm_chart/values-openshift.yaml \
210+ --set registry.pullPolicy=IfNotPresent \
166211 --set registry.imagePullSecrets=<openshift-pull-secret> \
167- helm_chart \
168- --values helm_chart/values-openshift.yaml > operator.yaml
169- oc apply -f operator.yaml
212+ --set namespace=<testNamespace>
170213
171214 ---
172215title : " Connect to the internet."
@@ -177,7 +220,7 @@ title: "Disconnect from the internet."
177220level : 4
178221ref : helm-master-disconnect-internet
179222---
180- title : " Add your Openshift Pull Secret to the Openshift Values file"
223+ title : " Add your OpenShift Pull Secret to the OpenShift Values file. "
181224level : 4
182225ref : helm-master-openshift-pull-secret
183226content : |
0 commit comments