Skip to content

Commit ae49d1a

Browse files
sarahsimpersjwilliams-mongo
authored andcommitted
(DOCSP-35026) Fixes replacement value issue for yaml files (#1529)
1 parent 284c096 commit ae49d1a

32 files changed

+289
-445
lines changed

source/includes/k8soffline.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Install `MongoDB Helm Charts for Kubernetes <https://mongodb.github.io/helm-charts>`__
2+
and set the value of ``registry.pullPolicy`` to ``IfNotPresent``.
3+
To learn about optional |k8s-op-short| installation settings, see
4+
:ref:`Operator Helm Installation Settings <meko-op-install-settings-helm>`.
5+
6+
.. code-block:: sh
7+
8+
helm install enterprise-operator mongodb/enterprise-operator \
9+
--set registry.pullPolicy='IfNotPresent'

source/includes/k8sonline.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Install `MongoDB Helm Charts for Kubernetes <https://mongodb.github.io/helm-charts>`__.
2+
The following command installs the |k8s-crds| and the |k8s-op-short|
3+
in the current namespace named ``default``. By default, the
4+
|k8s-op-short| uses the ``default`` namespace.
5+
6+
.. code-block:: sh
7+
8+
helm install enterprise-operator mongodb/enterprise-operator
9+
10+
The following command installs the |k8s-op-short| in the ``mongodb``
11+
namespace with the optional ``--create-namespace`` option.
12+
13+
.. code-block:: sh
14+
15+
helm install enterprise-operator mongodb/enterprise-operator \
16+
--namespace mongodb \
17+
--create-namespace
18+
19+
To learn about optional |k8s-op-short| installation settings, see
20+
:ref:`Operator Helm Installation Settings <meko-op-install-settings-helm>`.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.. code-block:: none
2+
3+
kubectl apply -f <om-resource-specification>.yaml
4+
5+
|k8s| automatically reconfigures your deployment with the new
6+
specifications. You can see these changes reflected in your |mms| or
7+
:cloudmgr:`Cloud Manager </>` application.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
a. Set :opsmgrkube:`spec.version` to the new |onprem| version.
2+
3+
#. If you upgraded your :ref:`application database <appdb-om-arch>`, set
4+
:opsmgrkube:`spec.applicationDatabase.version` to the compatible MongoDB
5+
version.
6+
7+
c. *(Optional)* If you might need to downgrade, set
8+
:setting:`spec.featureCompatibilityVersion`.
9+
10+
11+
.. literalinclude:: /reference/k8s/example-ops-manager.yaml
12+
:language: yaml
13+
:linenos:

source/includes/osoffline.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Install `MongoDB Helm Charts for Kubernetes <https://mongodb.github.io/helm-charts>`__:
2+
3+
.. code-block:: sh
4+
5+
helm install enterprise-operator mongodb/enterprise-operator \
6+
--set registry.pullPolicy='IfNotPresent' \
7+
--set registry.imagePullSecrets='<openshift-pull-secret>' \
8+
--values https://raw.githubusercontent.com/mongodb/helm-charts/main/charts/enterprise-operator/values-openshift.yaml
9+
10+
Use the `values-openshift.yaml <https://raw.githubusercontent.com/mongodb/helm-charts/main/charts/enterprise-operator/values-openshift.yaml>`__
11+
settings, ``registry.pullPolicy=IfNotPresent``, and
12+
``registry.imagePullSecrets=<openshift-pull-secret>``. To learn
13+
about optional |k8s-op-short| installation settings, see
14+
:ref:`Operator Helm Installation Settings <meko-op-install-settings-helm>`.

source/includes/osonline.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Install `MongoDB Helm Charts for Kubernetes <https://mongodb.github.io/helm-charts>`__:
2+
3+
.. code-block:: sh
4+
5+
helm install enterprise-operator mongodb/enterprise-operator \
6+
--values https://raw.githubusercontent.com/mongodb/helm-charts/main/charts/enterprise-operator/values-openshift.yaml
7+
8+
Use the `values-openshift.yaml <https://raw.githubusercontent.com/mongodb/helm-charts/main/charts/enterprise-operator/values-openshift.yaml>`__
9+
settings. To learn about optional |k8s-op-short| installation settings,
10+
see :ref:`Operator Helm Installation Settings <meko-op-install-settings-helm>`.

source/includes/quay-archive.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.. code-block:: sh
2+
3+
docker save quay.io/mongodb/mongodb-enterprise-operator:<op-version> -o mongodb-enterprise-operator.tar; \
4+
docker save quay.io/mongodb/mongodb-enterprise-database:<db-version> -o mongodb-enterprise-database.tar; \
5+
docker save quay.io/mongodb/mongodb-enterprise-ops-manager:<om-version> -o mongodb-enterprise-ops-manager.tar; \
6+
docker save quay.io/mongodb/mongodb-enterprise-appdb:{+appdb-agent-version+} -o mongodb-enterprise-appdb.tar; \
7+
docker save quay.io/mongodb/mongodb-enterprise-init-ops-manager:{+ops-manager-init-version+} -o mongodb-enterprise-init-ops-manager.tar; \
8+
docker save quay.io/mongodb/mongodb-enterprise-init-appdb:{+appdb-init-version+} -o mongodb-enterprise-init-appdb.tar;
9+
docker save quay.io/mongodb/mongodb-enterprise-init-database:{+database-init-version+} -o mongodb-enterprise-init-database.tar;

source/includes/quayimport.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.. code-block:: sh
2+
3+
docker load -i mongodb-enterprise-operator.tar; \
4+
docker load -i mongodb-enterprise-database.tar; \
5+
docker load -i mongodb-enterprise-ops-manager.tar; \
6+
docker load -i mongodb-enterprise-appdb.tar; \
7+
docker load -i mongodb-enterprise-init-ops-manager.tar; \
8+
docker load -i mongodb-enterprise-init-appdb.tar; \
9+
docker load -i mongodb-enterprise-init-database.tar;

source/includes/quaypull.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.. code-block:: sh
2+
3+
docker pull quay.io/mongodb/mongodb-enterprise-operator:<op-version>; \
4+
docker pull quay.io/mongodb/mongodb-enterprise-database:<db-version>; \
5+
docker pull quay.io/mongodb/mongodb-enterprise-ops-manager:<om-version>; \
6+
docker pull quay.io/mongodb/mongodb-enterprise-appdb:{+appdb-agent-version+}; \
7+
docker pull quay.io/mongodb/mongodb-enterprise-init-ops-manager:{+ops-manager-init-version+}; \
8+
docker pull quay.io/mongodb/mongodb-enterprise-init-appdb:{+appdb-init-version+}; \
9+
docker pull quay.io/mongodb/mongodb-enterprise-init-database:{+database-init-version+};

source/includes/rh-archive.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.. code-block:: sh
2+
3+
docker save registry.connect.redhat.com/mongodb/mongodb-enterprise-operator:<op-version> -o mongodb-enterprise-operator.tar; \
4+
docker save registry.connect.redhat.com/mongodb/mongodb-enterprise-database:<db-version> -o mongodb-enterprise-database.tar; \
5+
docker save registry.connect.redhat.com/mongodb/mongodb-enterprise-ops-manager:<om-version> -o mongodb-enterprise-ops-manager.tar; \
6+
docker save registry.connect.redhat.com/mongodb/mongodb-enterprise-appdb:{+appdb-agent-version+} -o mongodb-enterprise-appdb.tar; \
7+
docker save registry.connect.redhat.com/mongodb/mongodb-enterprise-init-ops-manager:{+ops-manager-init-version+} -o mongodb-enterprise-init-ops-manager.tar; \
8+
docker save registry.connect.redhat.com/mongodb/mongodb-enterprise-init-appdb:{+appdb-init-version+} -o mongodb-enterprise-init-appdb.tar;
9+
docker save registry.connect.redhat.com/mongodb/mongodb-enterprise-init-database:{+database-init-version+} -o mongodb-enterprise-init-database.tar;

0 commit comments

Comments
 (0)