Skip to content

Commit 56596c9

Browse files
(DOCSP-10122): Fix upgrade instructions for helm
1 parent 170c4ed commit 56596c9

File tree

3 files changed

+46
-2
lines changed

3 files changed

+46
-2
lines changed

source/includes/steps-helm-master.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,50 @@ replacement:
101101
-- values helm_chart/values-openshift.yaml
102102
oc apply -f operator.yaml
103103
104+
k8sonlineupgrade: |
105+
106+
.. code-block:: sh
107+
108+
helm template helm_chart > operator.yaml \
109+
-- values helm_chart/values.yaml
110+
kubectl apply -f operator.yaml
111+
112+
.. include:: /includes/install/helm-install-k8s-options.rst
113+
114+
.. note::
115+
116+
You can also pass these values as options when you apply the
117+
Helm Chart:
118+
119+
.. code-block:: sh
120+
121+
helm template --set namespace=<testNamespace> \
122+
helm_chart > operator.yaml \
123+
-- values helm_chart/values.yaml
124+
kubectl apply -f operator.yaml
125+
126+
osonlineupgrade: |
127+
128+
.. code-block:: sh
129+
130+
helm template helm_chart > operator.yaml \
131+
-- values helm_chart/values-openshift.yaml
132+
oc apply -f operator.yaml
133+
134+
.. include:: /includes/install/helm-install-os-options.rst
135+
136+
.. note::
137+
138+
You can also pass these values as options when you apply the Helm
139+
Chart:
140+
141+
.. code-block:: sh
142+
143+
helm template --set registry.imagePullSecrets=<openshift-pull-secret> \
144+
helm_chart > operator.yaml \
145+
-- values helm_chart/values-openshift.yaml
146+
oc apply -f operator.yaml
147+
104148
---
105149
title: "Connect to the internet."
106150
level: 4

source/includes/steps-upgrade-k8s-online-helm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ stepnum: 1
77
replacement:
88
method: "Upgrade the |k8s-op-short| using the following ``helm`` command:"
99
content: |
10-
{{k8sonline}}
10+
{{k8sonlineupgrade}}
1111
...

source/includes/steps-upgrade-os-online-helm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ stepnum: 1
77
replacement:
88
method: "Upgrade the |k8s-op-short| using the following ``helm`` command:"
99
content: |
10-
{{osonline}}
10+
{{osonlineupgrade}}
1111
...

0 commit comments

Comments
 (0)