@@ -122,7 +122,7 @@ Operator in Different Namespace Than Resources
122
122
You scope the |k8s-op-short| to a namespace. The |k8s-op-short| watches
123
123
|onprem| and |k8s-mdbrscs| in the |k8s-ns| you specify.
124
124
125
- You must use ``helm`` to install the |k8s-op-short| with this scope.
125
+ You can use ``helm`` to install the |k8s-op-short| with this scope.
126
126
Follow the relevant ``helm`` :ref:`installation instructions <install-k8s-operator>`,
127
127
but use the following command to set the namespace for the
128
128
|k8s-op-short| to watch:
@@ -151,7 +151,7 @@ You scope the |k8s-op-short| to a cluster. The |k8s-op-short| watches
151
151
You can deploy only one Operator with a cluster-wide scope per |k8s|
152
152
cluster.
153
153
154
- You must use ``helm`` to install the |k8s-op-short| with this scope.
154
+ You can use ``helm`` to install the |k8s-op-short| with this scope.
155
155
Follow the relevant ``helm``
156
156
:ref:`installation instructions <install-k8s-operator>`, but make the
157
157
following adjustments:
@@ -170,7 +170,13 @@ following adjustments:
170
170
.. code-block:: sh
171
171
172
172
helm template --set namespace=<namespace> \
173
- helm_chart --show-only templates/database-roles.yaml | kubectl apply -f -
173
+ helm_chart --show-only templates/database-roles.yaml | kubectl
174
+ apply -f -
175
+
176
+ If you install a cluster-wide |k8s-op-short| without ``helm``, ensure
177
+ that ``spec.template.spec.containers.name.env.name: WATCH_NAMESPACE`` is
178
+ set to ``*`` in :gh:`mongodb-enterprise.yaml
179
+ </mongodb/mongodb-enterprise-kubernetes/blob/master/mongodb-enterprise.yaml>`.
174
180
175
181
Customize the CustomResourceDefinitions that the |k8s-op-short| Watches
176
182
-----------------------------------------------------------------------
0 commit comments