diff --git a/helm-chart/sefaria-project/templates/configmap/mongo-destroy.yaml b/helm-chart/sefaria-project/templates/configmap/mongo-destroy.yaml index 38aa92b4e8..6874c016c4 100644 --- a/helm-chart/sefaria-project/templates/configmap/mongo-destroy.yaml +++ b/helm-chart/sefaria-project/templates/configmap/mongo-destroy.yaml @@ -38,18 +38,18 @@ data: {{ end }} URI="${URI}${MONGO_HOST}/${DATABASE}?ssl=false&authSource=admin" + APSCHEDULER_URI="${URI}${MONGO_HOST}/${APSCHEDULER_NAME}?ssl=false&authSource=admin" if [[ ! -z "$MONGO_REPLICASET_NAME" ]]; then URI="${URI}&replicaSet=${MONGO_REPLICASET_NAME}" + APSCHEDULER_URI="${APSCHEDULER_URI}&replicaSet=${MONGO_REPLICASET_NAME}" fi mongo "$URI" <