Skip to content

Commit 10e190a

Browse files
(DOCSP-12173): add tls ca step to upgrade instructions (#373)
* (DOCSP-12173): add tls ca step to upgrade instructions * (DOCSP-12173): copy review feedback * (DOCSP-12173): tech review feedback
1 parent 9d57262 commit 10e190a

9 files changed

+136
-9
lines changed

source/includes/steps-install-master.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,21 @@ replacement:
5050
.. code-block:: sh
5151
5252
oc apply -f mongodb-enterprise-openshift.yaml
53-
...
53+
---
54+
title: "If all of the following are true, you must provide the name of the ConfigMap for your |tls| |certauth| with the :opsmgrkube:`spec.security.tls.ca` setting:"
55+
level: 4
56+
ref: upgrade-to-1.7.1
57+
content: |
5458
59+
- You secure your |onprem| deployment using |tls| certificates.
60+
- You sign your |tls| certificates using a custom |certauth|.
61+
- You want to upgrade the |k8s-op-short| from a version earlier than
62+
1.7.1 to version 1.7.1 or later.
5563
64+
Use the following command to add the
65+
:opsmgrkube:`spec.security.tls.ca` setting to your |onprem| resource
66+
definition:
67+
68+
{{command}}
69+
70+
...

source/includes/steps-upgrade-k8s-offline-helm-host.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
11
---
2+
ref: upgrade-k8s-tls
3+
stepnum: 1
4+
inherit:
5+
file: steps-install-master.yaml
6+
ref: upgrade-to-1.7.1
7+
replacement:
8+
command: |
9+
10+
.. code-block:: none
11+
12+
kubectl patch opsmanagers/<opsmgr-resource-metadata.name> \
13+
--patch '{"spec": {"security": {"tls": {"ca": "<ca-configmap>"}}}}' \
14+
--type merge
15+
---
216
ref: helm-k8s-offline-host
317
inherit:
418
file: steps-helm-master.yaml
519
ref: helm-master-install
6-
stepnum: 1
20+
stepnum: 2
721
replacement:
822
method: "Upgrade the latest version of the |k8s-op-short| with modified pull policy values using the following ``helm`` command:"
923
content: |

source/includes/steps-upgrade-k8s-offline-helm-internet.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
11
---
2+
ref: upgrade-k8s-tls
3+
stepnum: 1
4+
inherit:
5+
file: steps-install-master.yaml
6+
ref: upgrade-to-1.7.1
7+
replacement:
8+
command: |
9+
10+
.. code-block:: none
11+
12+
kubectl patch opsmanagers/<opsmgr-resource-metadata.name> \
13+
--patch '{"spec": {"security": {"tls": {"ca": "<ca-configmap>"}}}}' \
14+
--type merge
15+
---
216
ref: helm-k8s-offline-internet
317
inherit:
418
file: steps-helm-master.yaml
519
ref: helm-master-install
6-
stepnum: 1
20+
stepnum: 2
721
replacement:
822
method: "Upgrade the latest version of the |k8s-op-short| with modified pull policy values using the following ``helm`` command:"
923
content: |

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

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
11
---
2+
ref: upgrade-k8s-tls
3+
stepnum: 1
4+
inherit:
5+
file: steps-install-master.yaml
6+
ref: upgrade-to-1.7.1
7+
replacement:
8+
command: |
9+
10+
.. code-block:: none
11+
12+
kubectl patch opsmanagers/<opsmgr-resource-metadata.name> \
13+
--patch '{"spec": {"security": {"tls": {"ca": "<ca-configmap>"}}}}' \
14+
--type merge
15+
---
216
ref: helm-k8s-online-ug
317
inherit:
418
file: steps-helm-master.yaml
519
ref: helm-master-install
6-
stepnum: 1
20+
stepnum: 2
721
replacement:
822
method: "Upgrade the |k8s-op-short| using the following ``kubectl``
923
and ``helm`` commands:"

source/includes/steps-upgrade-kubectl.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,25 @@ replacement:
2828
optionsinclude: |
2929
.. include:: /includes/list-tables/k8s-kubectl-install-options.rst
3030
---
31+
ref: upgrade-kubectl-tls
32+
stepnum: 4
33+
inherit:
34+
file: steps-install-master.yaml
35+
ref: upgrade-to-1.7.1
36+
replacement:
37+
command: |
38+
39+
.. code-block:: none
40+
41+
kubectl patch opsmanagers/<opsmgr-resource-metadata.name> \
42+
--patch '{"spec": {"security": {"tls": {"ca": "<ca-configmap>"}}}}' \
43+
--type merge
44+
---
3145
ref: upgrade-kubectl-upgrade
3246
inherit:
3347
file: steps-install-master.yaml
3448
ref: install-master-install
35-
stepnum: 4
49+
stepnum: 5
3650
replacement:
3751
method: "Upgrade the |k8s-op-short| using the following
3852
|kubectl| command:"

source/includes/steps-upgrade-oc.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,25 @@ replacement:
3838
3939
.. include:: /includes/list-tables/k8s-oc-install-options.rst
4040
---
41+
ref: upgrade-oc-tls
42+
stepnum: 4
43+
inherit:
44+
file: steps-install-master.yaml
45+
ref: upgrade-to-1.7.1
46+
replacement:
47+
command: |
48+
49+
.. code-block:: none
50+
51+
oc patch opsmanagers/<opsmgr-resource-metadata.name> \
52+
--patch '{"spec": {"security": {"tls": {"ca": "<ca-configmap>"}}}}' \
53+
--type merge
54+
---
4155
ref: upgrade-oc-upgrade
4256
inherit:
4357
file: steps-install-master.yaml
4458
ref: install-master-install
45-
stepnum: 4
59+
stepnum: 5
4660
replacement:
4761
method: "Upgrade the |k8s-op-short| using the following
4862
|oc| command:"

source/includes/steps-upgrade-os-offline-helm-host.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
11
---
2+
ref: upgrade-oc-tls
3+
stepnum: 1
4+
inherit:
5+
file: steps-install-master.yaml
6+
ref: upgrade-to-1.7.1
7+
replacement:
8+
command: |
9+
10+
.. code-block:: none
11+
12+
oc patch opsmanagers/<opsmgr-resource-metadata.name> \
13+
--patch '{"spec": {"security": {"tls": {"ca": "<ca-configmap>"}}}}' \
14+
--type merge
15+
---
216
ref: helm-os-offline-host
317
inherit:
418
file: steps-helm-master.yaml
519
ref: helm-master-install
6-
stepnum: 1
20+
stepnum: 2
721
replacement:
822
method: "Upgrade the latest version of the |k8s-op-short| with
923
modified pull policy values."

source/includes/steps-upgrade-os-offline-helm-internet.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
11
---
2+
ref: upgrade-oc-tls
3+
stepnum: 1
4+
inherit:
5+
file: steps-install-master.yaml
6+
ref: upgrade-to-1.7.1
7+
replacement:
8+
command: |
9+
10+
.. code-block:: none
11+
12+
oc patch opsmanagers/<opsmgr-resource-metadata.name> \
13+
--patch '{"spec": {"security": {"tls": {"ca": "<ca-configmap>"}}}}' \
14+
--type merge
15+
---
216
ref: helm-os-offline-internet
317
inherit:
418
file: steps-helm-master.yaml
519
ref: helm-master-install
6-
stepnum: 1
20+
stepnum: 2
721
replacement:
822
method: "Upgrade the latest version of the |k8s-op-short| with
923
modified pull policy values."

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

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
11
---
2+
ref: upgrade-oc-tls
3+
stepnum: 1
4+
inherit:
5+
file: steps-install-master.yaml
6+
ref: upgrade-to-1.7.1
7+
replacement:
8+
command: |
9+
10+
.. code-block:: none
11+
12+
oc patch opsmanagers/<opsmgr-resource-metadata.name> \
13+
--patch '{"spec": {"security": {"tls": {"ca": "<ca-configmap>"}}}}' \
14+
--type merge
15+
---
216
ref: helm-os-online-ug
317
inherit:
418
file: steps-helm-master.yaml
519
ref: helm-master-install
6-
stepnum: 1
20+
stepnum: 2
721
replacement:
822
method: "Upgrade the |k8s-op-short|."
923
content: |

0 commit comments

Comments
 (0)