File tree Expand file tree Collapse file tree 5 files changed +13
-6
lines changed Expand file tree Collapse file tree 5 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 1+ export K8S_CLUSTER_0_CONTEXT_NAME=" ${CLUSTER_NAME} "
2+
3+ export PRIVATE_PREVIEW_IMAGE_PULLSECRET=" ${PRERELEASE_PULLSECRET_DOCKERCONFIGJSON} "
4+
5+ export OPERATOR_ADDITIONAL_HELM_VALUES=" "
6+ export OPERATOR_HELM_CHART=" ${PROJECT_DIR} /helm_chart"
Original file line number Diff line number Diff line change 1+ export K8S_CLUSTER_0_CONTEXT_NAME=" ${CLUSTER_NAME} "
2+ export PRIVATE_PREVIEW_IMAGE_PULLSECRET=" ${PRERELEASE_PULLSECRET_DOCKERCONFIGJSON} "
Original file line number Diff line number Diff line change 153153
154154aws ecr get-login-password --region " eu-west-1" | registry_login " AWS" " 268558157000.dkr.ecr.eu-west-1.amazonaws.com"
155155
156- if [[ -n " ${COMMUNITY_PRIVATE_PREVIEW_PULLSECRET_DOCKERCONFIGJSON :- } " ]]; then
156+ if [[ -n " ${PRERELEASE_PULLSECRET_DOCKERCONFIGJSON :- } " ]]; then
157157 # log in to quay.io for the mongodb/mongodb-search-community private repo
158158 # TODO remove once we switch to the official repo in Public Preview
159159 quay_io_auth_file=$( mktemp)
160160 config_tmp=$( mktemp)
161- echo " ${COMMUNITY_PRIVATE_PREVIEW_PULLSECRET_DOCKERCONFIGJSON } " | base64 -d > " ${quay_io_auth_file} "
161+ echo " ${PRERELEASE_PULLSECRET_DOCKERCONFIGJSON } " | base64 -d > " ${quay_io_auth_file} "
162162 exec_cmd jq -s ' .[0] * .[1]' " ${quay_io_auth_file} " " ${CONFIG_PATH} " > " ${config_tmp} "
163163 exec_cmd mv " ${config_tmp} " " ${CONFIG_PATH} "
164164 rm " ${quay_io_auth_file} "
Original file line number Diff line number Diff line change @@ -110,8 +110,8 @@ export CODE_SNIPPETS_COMMIT_OUTPUT=${code_snippets_commit_output:-"false"}
110110export READINESS_PROBE_IMAGE=" 268558157000.dkr.ecr.us-east-1.amazonaws.com/dev/mongodb-kubernetes-readinessprobe:${version_id} "
111111export VERSION_UPGRADE_HOOK_IMAGE=" 268558157000.dkr.ecr.us-east-1.amazonaws.com/dev/mongodb-kubernetes-operator-version-upgrade-post-start-hook:${version_id} "
112112
113- # TODO to be removed at public preview stage of community-search
114- export COMMUNITY_PRIVATE_PREVIEW_PULLSECRET_DOCKERCONFIGJSON =" ${community_private_preview_pullsecret_dockerconfigjson} "
113+ # shellcheck disable=SC2154
114+ export PRERELEASE_PULLSECRET_DOCKERCONFIGJSON =" ${community_private_preview_pullsecret_dockerconfigjson} "
115115
116116export cognito_user_pool_id=" ${cognito_user_pool_id} "
117117export cognito_workload_federation_client_id=" ${cognito_workload_federation_client_id} "
Original file line number Diff line number Diff line change @@ -97,8 +97,7 @@ export e2e_cloud_qa_orgid_owner_static_2="${OM_ORGID}"
9797export e2e_cloud_qa_apikey_owner_static_2=" ${OM_API_KEY} "
9898export e2e_cloud_qa_user_owner_static_2=" ${OM_USER} "
9999
100- # TODO to be removed at public preview stage of community-search
101- export COMMUNITY_PRIVATE_PREVIEW_PULLSECRET_DOCKERCONFIGJSON=" <dockerconfigjson secret>"
100+ export PRERELEASE_PULLSECRET_DOCKERCONFIGJSON=" <dockerconfigjson secret>"
102101
103102# uncomment to enable license update with pre-commit script
104103# export MDB_UPDATE_LICENSES=true
You can’t perform that action at this time.
0 commit comments