File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -112,5 +112,7 @@ Where the test looks something like:
112112 export K8S_DRIVERS_TAR_FILE=/tmp/driver.tgz
113113 git archive -o $K8S_DRIVERS_TAR_FILE HEAD
114114 export K8S_TEST_CMD="OIDC_PROVIDER_NAME=k8s ./.evergreen/run-mongodb-oidc-test.sh"
115- bash ./.evergreen/auth_oidc/k8s/run-driver-test.sh
115+ bash ${DRIVERS_TOOLS}/.evergreen/auth_oidc/k8s/setup-pod.sh
116+ bash ${DRIVERS_TOOLS}/.evergreen/auth_oidc/k8s/run-driver-test.sh
117+ bash ${DRIVERS_TOOLS}/.evergreen/auth_oidc/k8s/teardown-pod.sh
116118` ` `
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ if [ "$1" == "local" ]; then
1313 cat << EOF >> "$SCRIPT_DIR /secrets-export.sh"
1414export OIDC_SERVER_TYPE=local
1515export MONGODB_URI="$URI "
16- export MONGODB_URI_SINGLE="$URI /?authMechanism=MONGODB-OIDC&authMechanismProperties=ENVIRONMENT:k8s"
16+ export MONGODB_URI_SINGLE="$URI /?authMechanism=MONGODB-OIDC&authMechanismProperties=ENVIRONMENT:k8s&authSource=%24external "
1717export OIDC_ADMIN_USER=bob
1818export OIDC_ADMIN_PWD=pwd123
1919EOF
@@ -97,7 +97,7 @@ URI=$(check_deployment)
9797cat << EOF >> "secrets-export.sh"
9898export OIDC_SERVER_TYPE=atlas
9999export MONGODB_URI="$URI "
100- export MONGODB_URI_SINGLE="$URI /?authMechanism=MONGODB-OIDC&authMechanismProperties=ENVIRONMENT:k8s"
100+ export MONGODB_URI_SINGLE="$URI /?authMechanism=MONGODB-OIDC&authMechanismProperties=ENVIRONMENT:k8s&authSource=%24external "
101101export OIDC_ADMIN_USER=$OIDC_ATLAS_USER
102102export OIDC_ADMIN_PWD=$OIDC_ATLAS_PASSWORD
103103EOF
You can’t perform that action at this time.
0 commit comments