11---
2- title : " Change to the directory in which you cloned the repository."
32level : 4
4- ref : helm-master-cd
3+ ref : install-helm-charts
4+ title : " Add the :mdb-github:`MongoDB Helm Charts for Kubernetes </helm-charts>` repository to Helm."
5+ content : |
6+
7+ .. code-block:: sh
8+
9+ helm repo add mongodb https://mongodb.github.io/helm-charts
10+
511 ---
612title : " Customize your Helm Chart before upgrading it."
713level : 4
@@ -18,57 +24,63 @@ ref: helm-master-install
1824replacement :
1925 k8sonline : |
2026
21- Invoke the following ``helm`` command:
27+ Install :mdb-github:`MongoDB Helm Charts for Kubernetes </helm-charts>`.
28+ The following command installs the |k8s-crds| and the |k8s-op-short|
29+ in the current namespace named ``default``.
2230
2331 .. code-block:: sh
2432
25- helm install <chart-name> helm_chart \
26- --values helm_chart/values.yaml
33+ helm install enterprise-operator mongodb/enterprise-operator
2734
2835 To learn about optional |k8s-op-short| installation settings, see
2936 :ref:`Operator Helm Installation Settings <meko-op-install-settings-helm>`.
3037
31- k8soffline : |
32-
33- Invoke the following ``helm`` command:
38+ You can specify a different namespace with:
3439
3540 .. code-block:: sh
3641
37- helm install <chart-name> helm_chart \
38- --values helm_chart/values.yaml \
39- --set registry.pullPolicy=IfNotPresent
42+ helm install enterprise-operator mongodb/enterprise-operator --namespace mongodb [--create-namespace]
43+
44+ k8soffline : |
4045
46+ Install :mdb-github:`MongoDB Helm Charts for Kubernetes </helm-charts>`
47+ and set the value of ``registry.pullPolicy`` to ``IfNotPresent``.
4148 To learn about optional |k8s-op-short| installation settings, see
4249 :ref:`Operator Helm Installation Settings <meko-op-install-settings-helm>`.
4350
44- osonline : |
51+ .. code-block:: sh
4552
46- .. include:: /includes/install/install-os-311-helm.rst
53+ helm install enterprise-operator mongodb/enterprise-operator \
54+ --set registry.pullPolicy='IfNotPresent'
4755
48- Invoke the following ``helm`` command:
56+ osonline : |
57+
58+ Install :mdb-github:`MongoDB Helm Charts for Kubernetes </helm-charts>`:
4959
5060 .. code-block:: sh
5161
52- helm install <chart-name> helm_chart \
53- --values helm_chart /values-openshift.yaml
62+ helm install enterprise-operator mongodb/enterprise-operator \
63+ --values https://raw.githubusercontent.com/mongodb/helm-charts/main/charts/enterprise-operator /values-openshift.yaml
5464
55- To learn about optional |k8s-op-short| installation settings, see
56- :ref:`Operator Helm Installation Settings <meko-op-install-settings-helm>`.
65+ Use the :github-raw:`values-openshift.yaml </mongodb/helm-charts/main/charts/enterprise-operator/values-openshift.yaml>`
66+ settings. To learn about optional |k8s-op-short| installation settings,
67+ see :ref:`Operator Helm Installation Settings <meko-op-install-settings-helm>`.
5768
5869 osoffline : |
5970
60- .. include:: /includes/install/install-os-311-helm.rst
61-
62- Invoke the following ``helm`` command:
71+ Install :mdb-github:`MongoDB Helm Charts for Kubernetes </helm-charts>`:
6372
6473 .. code-block:: sh
6574
66- helm install <chart-name> helm_chart \
67- --values helm_chart/values-openshift.yaml \
68- --set registry.pullPolicy=IfNotPresent \
69- --set registry.imagePullSecrets=<openshift-pull-secret>
75+ helm install enterprise-operator mongodb/enterprise-operator \
76+ --set registry.pullPolicy='IfNotPresent' \
77+ --set registry.imagePullSecrets='<openshift-pull-secret>' \
78+ --values https://raw.githubusercontent.com/mongodb/helm-charts/main/charts/enterprise-operator/values-openshift.yaml
7079
71- To learn about optional |k8s-op-short| installation settings, see
80+ Use the :github-raw:`values-openshift.yaml </mongodb/helm-charts/main/charts/enterprise-operator/values-openshift.yaml>`
81+ settings, ``registry.pullPolicy=IfNotPresent``, and
82+ ``registry.imagePullSecrets=<openshift-pull-secret>``. To learn
83+ about optional |k8s-op-short| installation settings, see
7284 :ref:`Operator Helm Installation Settings <meko-op-install-settings-helm>`.
7385
7486 k8sonlineupgrade : |
@@ -77,86 +89,50 @@ replacement:
7789
7890 .. code-block:: sh
7991
80- helm upgrade <chart-name> helm_chart \
81- --values helm_chart/values.yaml
82-
83-
84- k8sonlineupgradev161 : |
85-
86- Invoke the following ``helm`` command:
87-
88- .. code-block:: sh
89-
90- helm upgrade <chart-name> helm_chart \
91- --values helm_chart/values.yaml
92+ helm upgrade enterprise-operator mongodb/enterprise-operator
9293
9394 k8sofflineupgrade : |
9495
95- Invoke the following ``helm`` command to upgrade with modified pull
96- policy values:
97-
98- .. code-block:: sh
99-
100- helm upgrade <chart-name> helm_chart \
101- --values helm_chart/values.yaml \
102- --set registry.pullPolicy=IfNotPresent
103-
104- k8sofflineupgradev161 : |
105-
106- Invoke the following ``helm`` command to upgrade with modified pull
107- policy values:
96+ Invoke the following ``helm upgrade`` command.
97+ Use the ``registry.pullPolicy=IfNotPresent`` setting. To learn
98+ about optional |k8s-op-short| installation settings, see
99+ :ref:`Operator Helm Installation Settings <meko-op-install-settings-helm>`.
108100
109101 .. code-block:: sh
110102
111- helm upgrade <chart-name> helm_chart \
112- --values helm_chart/values.yaml \
113- --set registry.pullPolicy=IfNotPresent
103+ helm upgrade enterprise-operator mongodb/enterprise-operator \
104+ --set registry.pullPolicy='IfNotPresent'
114105
115106 osonlineupgrade : |
116107
117- .. include:: /includes/install/install-os-311-helm.rst
118-
119- Invoke the following ``helm`` command:
120-
121- .. code-block:: sh
122-
123- helm upgrade <chart-name> helm_chart \
124- --values helm_chart/values-openshift.yaml
125-
126- osonlineupgradev161 : |
127-
128- Invoke the following ``helm`` command:
108+ Invoke the following ``helm upgrade`` command.
109+ Use :github-raw:`values-openshift.yaml </mongodb/helm-charts/main/charts/enterprise-operator/values-openshift.yaml>` settings. To learn
110+ about optional |k8s-op-short| installation settings, see
111+ :ref:`Operator Helm Installation Settings<meko-op-install-settings-helm>`.
129112
130113 .. code-block:: sh
131114
132- helm upgrade <chart-name> helm_chart \
133- --values helm_chart /values-openshift.yaml
115+ helm upgrade enterprise-operator mongodb/enterprise-operator \
116+ --values https://raw.githubusercontent.com/mongodb/helm-charts/main/charts/enterprise-operator /values-openshift.yaml
134117
135118 osofflineupgrade : |
136119
137- .. include:: /includes/install/install-os-311-helm.rst
138120
139- Invoke the following ``helm`` command with
140- modified pull policy values:
121+ Invoke the following ``helm upgrade`` command:
141122
142123 .. code-block:: sh
143124
144- helm upgrade <chart-name> helm_chart \
145- --values helm_chart/values-openshift.yaml \
146- --set registry.pullPolicy=IfNotPresent \
147- --set registry.imagePullSecrets=<openshift-pull-secret>
148-
149- osofflineupgradev161 : |
150-
151- Invoke the following ``helm`` command with
152- modified pull policy values:
125+ helm upgrade enterprise-operator mongodb/enterprise-operator \
126+ --set registry.pullPolicy='IfNotPresent' \
127+ --set registry.imagePullSecrets='<openshift-pull-secret>' \
128+ --values https://raw.githubusercontent.com/mongodb/helm-charts/main/charts/enterprise-operator/values-openshift.yaml
153129
154- .. code-block:: sh
130+ Use the :github-raw:`values-openshift.yaml </mongodb/helm-charts/main/charts/enterprise-operator/values-openshift.yaml>`
131+ settings, ``registry.pullPolicy=IfNotPresent``, and
132+ ``registry.imagePullSecrets=<openshift-pull-secret>``. To learn
133+ about optional |k8s-op-short| installation settings, see
134+ :ref:`Operator Helm Installation Settings <meko-op-install-settings-helm>`.
155135
156- helm upgrade <chart-name> helm_chart \
157- --values helm_chart/values-openshift.yaml \
158- --set registry.pullPolicy=IfNotPresent \
159- --set registry.imagePullSecrets=<openshift-pull-secret>
160136 ---
161137title : " Connect to the internet."
162138level : 4
@@ -165,24 +141,6 @@ ref: helm-master-connect-internet
165141title : " Disconnect from the internet."
166142level : 4
167143ref : helm-master-disconnect-internet
168- ---
169- title : " Add your OpenShift Pull Secret to the OpenShift Values file."
170- level : 4
171- ref : helm-master-openshift-pull-secret
172- content : |
173-
174- Add the name of your ``<openshift-pull-secret>`` to the
175- ``registry.imagePullSecrets`` setting in the
176- ``helm_chart/values-openshift.yaml`` file.
177- To learn more, see the ``registry.imagePullSecrets`` setting in the
178- :doc:`Helm installation settings </reference/helm-operator-settings>`.
179-
180- .. code-block:: sh
181- :emphasize-lines: 3
182-
183- registry:
184- # The pull secret must be specified
185- imagePullSecrets: <openshift-pull-secret>
186144
187145---
188146title : " Export the |k8s-op-short| images as ``.tar`` archive files:"
0 commit comments