@@ -9,164 +9,207 @@ ref: helm-master-install
9
9
replacement :
10
10
k8sonline : |
11
11
12
- Invoke the following ``helm`` and ``kubectl`` commands :
12
+ Invoke the following ``helm`` command :
13
13
14
14
.. code-block:: sh
15
15
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
19
18
20
19
.. include:: /includes/install/helm-install-k8s-options.rst
21
20
22
21
.. note::
23
22
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
25
24
Helm Chart:
26
25
27
26
.. code-block:: sh
28
27
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
+
34
32
35
33
k8soffline : |
36
34
37
- Invoke the following ``helm`` and ``kubectl`` commands :
35
+ Invoke the following ``helm`` command :
38
36
39
37
.. code-block:: sh
40
38
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
46
42
47
43
.. include:: /includes/install/helm-install-k8s-options.rst
48
44
49
45
.. note::
50
46
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
52
48
Helm Chart:
53
49
54
50
.. code-block:: sh
55
51
56
- helm template \
52
+ helm install <chart-name> helm_chart \
53
+ --values helm_chart/values.yaml \
57
54
--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>
64
56
65
- Invoke the following ``helm`` and ``oc`` commands:
66
57
67
- .. code-block:: sh
58
+ osonline : |
68
59
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
72
61
73
- If you run |oc| 3.11 or earlier, add the ``--set subresourceEnabled=false`` :
62
+ Invoke the following ``helm`` command :
74
63
75
64
.. code-block:: sh
76
65
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
81
68
82
69
.. include:: /includes/install/helm-install-os-options.rst
83
70
84
71
.. note::
85
72
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
87
74
Helm Chart:
88
75
89
76
.. code-block:: sh
90
77
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>
96
81
97
82
osoffline : |
98
83
84
+ .. include:: /includes/install/install-os-311-helm.rst
85
+
86
+ Invoke the following ``helm`` command:
87
+
99
88
.. code-block:: sh
100
89
101
- helm template \
90
+ helm install <chart-name> helm_chart \
91
+ --values helm_chart/values-openshift.yaml \
102
92
--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>
107
94
108
95
.. include:: /includes/install/helm-install-os-options.rst
109
96
110
97
.. note::
111
98
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
113
100
Helm Chart:
114
101
115
102
.. code-block:: sh
116
103
117
- helm template \
104
+ helm install <chart-name> helm_chart \
105
+ --values helm_chart/values-openshift.yaml \
118
106
--set registry.pullPolicy=IfNotPresent \
119
107
--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>
124
109
125
110
k8sonlineupgrade : |
126
111
127
112
.. code-block:: sh
128
113
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
132
117
133
118
.. include:: /includes/install/helm-install-k8s-options.rst
134
119
135
120
.. note::
136
121
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
138
123
Helm Chart:
139
124
140
125
.. code-block:: sh
141
126
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>
147
157
148
158
osonlineupgrade : |
149
159
160
+ .. include:: /includes/install/install-os-311-helm.rst
161
+
162
+ Invoke the following |oc| and ``helm`` commands:
163
+
150
164
.. code-block:: sh
151
165
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
155
169
156
170
.. include:: /includes/install/helm-install-os-options.rst
157
171
158
172
.. note::
159
173
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
161
175
Helm Chart:
162
176
163
177
.. code-block:: sh
164
178
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 \
166
211
--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>
170
213
171
214
---
172
215
title : " Connect to the internet."
@@ -177,7 +220,7 @@ title: "Disconnect from the internet."
177
220
level : 4
178
221
ref : helm-master-disconnect-internet
179
222
---
180
- title : " Add your Openshift Pull Secret to the Openshift Values file"
223
+ title : " Add your OpenShift Pull Secret to the OpenShift Values file. "
181
224
level : 4
182
225
ref : helm-master-openshift-pull-secret
183
226
content : |
0 commit comments