You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Note: If you need the operator to have permission over multiple namespaces, for ex: when configuring the operator to have the `connectionStringSecret` in a different `namespace`, make sure
163
+
to apply the `RBAC` in all the relevant namespaces.*
164
+
165
+
162
166
5. [Install the operator](#procedure-using-kubectl).
163
167
164
168
##### Configure the MongoDB Docker Image or Container Registry
@@ -170,11 +174,11 @@ for MongoDB Docker images:
170
174
171
175
1. In the Operator [resource definition](../config/manager/manager.yaml), set the `MONGODB_IMAGE` and `MONGODB_REPO_URL` environment variables:
172
176
173
-
**NOTE:** Use the official
174
-
[MongoDB Community Server images](https://hub.docker.com/r/mongodb/mongodb-community-server).
177
+
**NOTE:** Use the official
178
+
[MongoDB Community Server images](https://hub.docker.com/r/mongodb/mongodb-community-server).
175
179
Official images provide the following advantages:
176
180
177
-
- They are rebuilt daily for the latest upstream
181
+
- They are rebuilt daily for the latest upstream
178
182
vulnerability fixes.
179
183
- MongoDB tests, maintains, and supports them.
180
184
@@ -290,7 +294,7 @@ Make sure you run commands in the correct namespace.
290
294
```
291
295
kubectl delete pod <sts-name>-0
292
296
```
293
-
d. You're done. Now Kubernetes will create the pod fresh, causing the migration to run and then the pod to start up. Then kubernetes will proceed creating the next pod until it reaches the number specified in your cr.
297
+
d. You're done. Now Kubernetes will create the pod fresh, causing the migration to run and then the pod to start up. Then kubernetes will proceed creating the next pod until it reaches the number specified in your cr.
294
298
295
299
## Rotating TLS certificate for the MongoDB deployment
296
300
@@ -306,4 +310,4 @@ kubectl apply -f -
306
310
*`secret_name` is what you've specified under `Spec.Security.TLS.CertificateKeySecret.Name`*.
307
311
308
312
If you're using a tool like cert-manager, you can follow [these instructions](https://cert-manager.io/docs/usage/certificate/#renewal) to rotate the certificate.
309
-
The operator should would watch the secret change and re-trigger a reconcile process.
313
+
The operator should would watch the secret change and re-trigger a reconcile process.
0 commit comments