diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ecd08ec119..a69488dc0f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -174,7 +174,7 @@ jobs: - name: Change path for the test run: | - sed -i -e 's/cloud.mongodb.com/cloud-qa.mongodb.com\//' bundle/manifests/mongodb-atlas-kubernetes.clusterserviceversion.yaml + awk '{gsub(/cloud.mongodb.com/, "cloud-qa.mongodb.com", $0); print}' bundle/manifests/mongodb-atlas-kubernetes.clusterserviceversion.yaml > tmp && mv tmp bundle/manifests/mongodb-atlas-kubernetes.clusterserviceversion.yaml - name: Push bundle-image for the test if: ${{ matrix.test == 'openshift' || matrix.test == 'bundle-test' && !env.ACT }} diff --git a/cmd/manager/main.go b/cmd/manager/main.go index 1e4dc9c6c2..793ba27a7d 100644 --- a/cmd/manager/main.go +++ b/cmd/manager/main.go @@ -184,7 +184,7 @@ type Config struct { func parseConfiguration(log *zap.SugaredLogger) Config { var globalAPISecretName string config := Config{} - flag.StringVar(&config.AtlasDomain, "atlas-domain", "https://cloud.mongodb.com", "the Atlas URL domain name (no slash in the end).") + flag.StringVar(&config.AtlasDomain, "atlas-domain", "https://cloud.mongodb.com/", "the Atlas URL domain name (with slash in the end).") flag.StringVar(&config.MetricsAddr, "metrics-bind-address", ":8080", "The address the metric endpoint binds to.") flag.StringVar(&config.ProbeAddr, "health-probe-bind-address", ":8081", "The address the probe endpoint binds to.") flag.StringVar(&globalAPISecretName, "global-api-secret-name", "", "The name of the Secret that contains Atlas API keys. "+ diff --git a/config/release/prod/prod_patch.json b/config/release/prod/prod_patch.json index 04b31caf3e..46c622c1a3 100644 --- a/config/release/prod/prod_patch.json +++ b/config/release/prod/prod_patch.json @@ -1,6 +1,6 @@ [ {"op": "add", "path": "/spec/template/spec/containers/0/args/0", - "value": "--atlas-domain=https://cloud.mongodb.com" + "value": "--atlas-domain=https://cloud.mongodb.com/" } ] \ No newline at end of file