Skip to content
Snippets Groups Projects
Verified Commit e341f69f authored by David Hoese's avatar David Hoese
Browse files

Don't tell minio our secret exists beforehand

parent 483dbab9
No related branches found
No related tags found
No related merge requests found
...@@ -154,7 +154,7 @@ deploy_prod_minio: ...@@ -154,7 +154,7 @@ deploy_prod_minio:
- if [ "$sec_info" != "" ]; then - if [ "$sec_info" != "" ]; then
ak=$(kubectl --kubeconfig $kubeconfig get secret --namespace "$ns" "$auth_sec" -o jsonpath="{.data.accesskey}" | base64 -d); ak=$(kubectl --kubeconfig $kubeconfig get secret --namespace "$ns" "$auth_sec" -o jsonpath="{.data.accesskey}" | base64 -d);
sk=$(kubectl --kubeconfig $kubeconfig get secret --namespace "$ns" "$auth_sec" -o jsonpath="{.data.secretkey}" | base64 -d); sk=$(kubectl --kubeconfig $kubeconfig get secret --namespace "$ns" "$auth_sec" -o jsonpath="{.data.secretkey}" | base64 -d);
EXTRA_ARGS="--set existingSecret=$auth_sec --set accessKey=$ak --set secretKey=$sk"; EXTRA_ARGS="--set accessKey=$ak --set secretKey=$sk";
else else
EXTRA_ARGS="--set accessKey=false --set secretKey=false"; EXTRA_ARGS="--set accessKey=false --set secretKey=false";
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment