Skip to content

Commit 73107ed

Browse files
committed
wip
1 parent ca1a717 commit 73107ed

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
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"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export K8S_CLUSTER_0_CONTEXT_NAME="${CLUSTER_NAME}"
2+
export PRIVATE_PREVIEW_IMAGE_PULLSECRET="${PRERELEASE_PULLSECRET_DOCKERCONFIGJSON}"

scripts/dev/configure_container_auth.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,12 @@ fi
153153

154154
aws 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}"

scripts/dev/contexts/evg-private-context

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ export CODE_SNIPPETS_COMMIT_OUTPUT=${code_snippets_commit_output:-"false"}
110110
export READINESS_PROBE_IMAGE="268558157000.dkr.ecr.us-east-1.amazonaws.com/dev/mongodb-kubernetes-readinessprobe:${version_id}"
111111
export 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

116116
export cognito_user_pool_id="${cognito_user_pool_id}"
117117
export cognito_workload_federation_client_id="${cognito_workload_federation_client_id}"

scripts/dev/contexts/private-context-template

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,7 @@ export e2e_cloud_qa_orgid_owner_static_2="${OM_ORGID}"
9797
export e2e_cloud_qa_apikey_owner_static_2="${OM_API_KEY}"
9898
export 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

0 commit comments

Comments
 (0)