Skip to content

Commit 77a2e82

Browse files
(DOCSP-10002): watch mongodb resources referenced form spec.backup (#267)
* (DOCSP-10002): watch mongodb resources referenced form spec.backup * (DOCSP-10002): adding notes * (DOCSP-10002): copy review feedback
1 parent 3f8edda commit 77a2e82

File tree

4 files changed

+26
-9
lines changed

4 files changed

+26
-9
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
If a MongoDB database resource with this name doesn't exist, the
2+
``backup`` resource enters a ``Pending`` state. The |k8s-op-short|
3+
retries every 10 seconds until a MongoDB database resource with this
4+
name is created.
5+
6+
.. note::
7+
8+
The |k8s-op-short| begins to reconcile the |onprem| resource
9+
automatically when you make security changes to the database
10+
resources you reference in this setting. The |k8s-op-short| updates
11+
the ``mongoURI`` and ``ssl`` flags in the |onprem| configuration
12+
based on your changes.

source/includes/steps-deploy-k8s-opsmgr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ content: |
218218
- Name of the MongoDB database resource for the oplog store.
219219
- ``my-oplog-db``
220220
221-
You must also configure an :term:` S3 snapshot store <s3 snapshot store>`
221+
You must also configure an :term:`S3 snapshot store <s3 snapshot store>`
222222
or a :term:`blockstore <Backup Blockstore Database>`.
223223
224224
.. note::

source/reference/k8s-operator-om-specification.txt

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -284,10 +284,7 @@ Optional |onprem| Resource Settings
284284

285285
.. include:: /includes/admonitions/fact-backing-db-auth.rst
286286

287-
If a MongoDB database resource with this name doesn't exist, the
288-
|onprem| resource enters a ``Pending`` state. The |k8s-op-short|
289-
retries every 10 seconds until a MongoDB database resource with this
290-
name is created.
287+
.. include:: /includes/admonitions/watch-backup-resources.rst
291288

292289
.. opsmgrkube:: spec.backup.opLogStores.mongodbUserRef.name
293290

@@ -338,10 +335,7 @@ Optional |onprem| Resource Settings
338335

339336
.. include:: /includes/admonitions/fact-backing-db-auth.rst
340337

341-
If a MongoDB database resource with this name doesn't exist, the
342-
|onprem| resource enters a ``Pending`` state. The |k8s-op-short|
343-
retries every 10 seconds until a MongoDB database resource with this
344-
name is created.
338+
.. include:: /includes/admonitions/watch-backup-resources.rst
345339

346340
.. opsmgrkube:: spec.backup.blockStores.mongodbUserRef.name
347341

@@ -556,6 +550,8 @@ Optional |onprem| Resource Settings
556550
This change will likely fail if backups use the old name. The
557551
consequences of a successful change are unpredictable.
558552

553+
.. include:: /includes/admonitions/watch-backup-resources.rst
554+
559555
.. opsmgrkube:: spec.backup.s3Stores.mongodbUserRef.name
560556

561557
*Type*: string

source/reference/troubleshooting.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ invoke one of the following commands:
3333
- The ``status.opsManager.phase`` field displays the |onprem| resource
3434
deployment status.
3535

36+
.. note::
37+
38+
The ``opsManager`` controller watches the database resources
39+
defined in the following settings:
40+
41+
- :opsmgrkube:`spec.backup.opLogStores`
42+
- :opsmgrkube:`spec.backup.s3Stores`
43+
- :opsmgrkube:`spec.backup.blockStores`
44+
3645
- For MongoDB resource deployments:
3746

3847
.. code-block:: sh

0 commit comments

Comments
 (0)