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

Try setting minio unset accessKey/secretKey to empty string

parent 42ecc21d
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,7 @@ deploy_prod_minio:
- cp $kubekorner_k3s_config .
- kubeconfig=$(basename $kubekorner_k3s_config)
# get password from any previous installation
- auth_sec="geosphere-minio-minio"
- auth_sec="geosphere-minio"
- sec_info=$(kubectl --kubeconfig $kubeconfig get secret --namespace $ns $auth_sec || echo "")
- echo "$sec_info"
# if we've installed this once then reuse the existing secret
......@@ -156,7 +156,7 @@ deploy_prod_minio:
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";
else
EXTRA_ARGS="--set accessKey=false --set secretKey=false";
EXTRA_ARGS='--set accessKey="" --set secretKey=""';
fi
- echo $EXTRA_ARGS
- helm upgrade -v 2 --install --kubeconfig $kubeconfig -f production/values-geosphere-minio.yaml $EXTRA_ARGS --namespace $ns geosphere-minio stable/minio
......
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