From e221fb0b649684818d118a83fc2c0f014f57cf74 Mon Sep 17 00:00:00 2001 From: Nikolas De Giorgis Date: Tue, 22 Jun 2021 11:28:52 +0100 Subject: [PATCH 1/3] changed repo url and image name --- config/manager/manager.yaml | 4 ++-- deploy/openshift/operator_openshift.yaml | 4 ++-- docs/install-upgrade.md | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index e04ffe83b..8f9065be4 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -33,9 +33,9 @@ spec: - name: READINESS_PROBE_IMAGE value: quay.io/mongodb/mongodb-kubernetes-readinessprobe:1.0.4 - name: MONGODB_IMAGE - value: library/mongo + value: mongo - name: MONGODB_REPO_URL - value: registry.hub.docker.com + value: library image: quay.io/mongodb/mongodb-kubernetes-operator:0.6.1 imagePullPolicy: Always name: mongodb-kubernetes-operator diff --git a/deploy/openshift/operator_openshift.yaml b/deploy/openshift/operator_openshift.yaml index 66d5d7fdd..01353fa96 100644 --- a/deploy/openshift/operator_openshift.yaml +++ b/deploy/openshift/operator_openshift.yaml @@ -35,9 +35,9 @@ spec: - name: VERSION_UPGRADE_HOOK_IMAGE value: quay.io/mongodb/mongodb-kubernetes-operator-version-upgrade-post-start-hook:1.0.2 - name: MONGODB_IMAGE - value: library/mongo + value: mongo - name: MONGODB_REPO_URL - value: registry.hub.docker.com + value: library image: quay.io/mongodb/mongodb-kubernetes-operator:0.6.1 imagePullPolicy: Always name: mongodb-kubernetes-operator diff --git a/docs/install-upgrade.md b/docs/install-upgrade.md index 805124851..84e30e3be 100644 --- a/docs/install-upgrade.md +++ b/docs/install-upgrade.md @@ -87,8 +87,8 @@ for MongoDB Docker images: | Environment Variable | Description | Default | |----|----|----| - | `MONGODB_IMAGE` | From the `MONGODB_REPO_URL`, absolute path to the MongoDB Docker image that you want to deploy. | `"library/mongo"` | - | `MONGODB_REPO_URL` | URL of the container registry that contains the MongoDB Docker image that you want to deploy. | `"registry.hub.docker.com"` | + | `MONGODB_IMAGE` | From the `MONGODB_REPO_URL`, absolute path to the MongoDB Docker image that you want to deploy. | `"mongo"` | + | `MONGODB_REPO_URL` | URL of the container registry that contains the MongoDB Docker image that you want to deploy. | `"library"` | ```yaml spec: @@ -198,4 +198,4 @@ Make sure you run commands in the correct namespace. ``` kubectl delete pod -0 ``` - 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. \ No newline at end of file + 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. From ba3b795d98ccbdaca561eb49890a2ac008347179 Mon Sep 17 00:00:00 2001 From: Nikolas De Giorgis Date: Tue, 22 Jun 2021 11:51:41 +0100 Subject: [PATCH 2/3] Release notes --- docs/RELEASE_NOTES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md index 60ef8d89a..cc29916a9 100644 --- a/docs/RELEASE_NOTES.md +++ b/docs/RELEASE_NOTES.md @@ -6,6 +6,7 @@ - stability improvements when changing version of MongoDB. - increased number of concurrent resources the operator can act on. - mongodb will now send its log to stdout by default. + - changed the default values for `MONGODB_REPO_URL` and `MONGODB_IMAGE` in the operator deployment ## Updated Image Tags From 6cdeb26c706c4e269c862d99f5063f40a821fd2d Mon Sep 17 00:00:00 2001 From: Nikolas De Giorgis Date: Tue, 22 Jun 2021 12:04:20 +0100 Subject: [PATCH 3/3] Changed library to docker.io --- config/manager/manager.yaml | 2 +- deploy/openshift/operator_openshift.yaml | 2 +- docs/install-upgrade.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 8f9065be4..e49335f0f 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -35,7 +35,7 @@ spec: - name: MONGODB_IMAGE value: mongo - name: MONGODB_REPO_URL - value: library + value: docker.io image: quay.io/mongodb/mongodb-kubernetes-operator:0.6.1 imagePullPolicy: Always name: mongodb-kubernetes-operator diff --git a/deploy/openshift/operator_openshift.yaml b/deploy/openshift/operator_openshift.yaml index 01353fa96..fd75b46aa 100644 --- a/deploy/openshift/operator_openshift.yaml +++ b/deploy/openshift/operator_openshift.yaml @@ -37,7 +37,7 @@ spec: - name: MONGODB_IMAGE value: mongo - name: MONGODB_REPO_URL - value: library + value: docker.io image: quay.io/mongodb/mongodb-kubernetes-operator:0.6.1 imagePullPolicy: Always name: mongodb-kubernetes-operator diff --git a/docs/install-upgrade.md b/docs/install-upgrade.md index 84e30e3be..e21909035 100644 --- a/docs/install-upgrade.md +++ b/docs/install-upgrade.md @@ -88,7 +88,7 @@ for MongoDB Docker images: | Environment Variable | Description | Default | |----|----|----| | `MONGODB_IMAGE` | From the `MONGODB_REPO_URL`, absolute path to the MongoDB Docker image that you want to deploy. | `"mongo"` | - | `MONGODB_REPO_URL` | URL of the container registry that contains the MongoDB Docker image that you want to deploy. | `"library"` | + | `MONGODB_REPO_URL` | URL of the container registry that contains the MongoDB Docker image that you want to deploy. | `"docker.io"` | ```yaml spec: