Skip to content

Commit 7b438fb

Browse files
committed
fix: use correct mongo user password to instance config
SE-6524
1 parent 7b6ae09 commit 7b438fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/phd-mongodb-provision-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ spec:
177177
-H "Content-Type: application/json" \
178178
-H "Authorization: $K8s_API_BEARER_TOKEN" \
179179
--cacert /var/run/secrets/kubernetes.io/serviceaccount/ca.crt \
180-
-d '{"apiVersion": "v1","kind": "Secret","metadata": {"name": "phd-mongodb-user-password","namespace": "$NAMESPACE"},"type": "Opaque","data": {"phd-mongodb-user-password": "$BASE64_ENCODED_PASSWORD"}}' \
180+
-d '{"apiVersion": "v1","kind": "Secret","metadata": {"name": "phd-mongodb-user-password","namespace": "$NAMESPACE"},"type": "Opaque","stringData": {"phd-mongodb-user-password": "$PASSWORD"}}' \
181181
"https://kubernetes.default.svc/api/v1/namespaces/$NAMESPACE/secrets"
182182
183183

0 commit comments

Comments
 (0)