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

Go back to minio keys being false

parent 146527ad
No related branches found
No related tags found
No related merge requests found
......@@ -152,11 +152,11 @@ deploy_prod_minio:
# otherwise force the chart to generate random values for accessKey and secretKey
# by setting them to false
- if [ "$sec_info" != "" ]; then
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);
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);
EXTRA_ARGS="--set existingSecret=$auth_sec --set accessKey=$ak --set secretKey=$sk";
else
EXTRA_ARGS='--set accessKey="" --set secretKey=""';
EXTRA_ARGS="--set accessKey=false --set secretKey=false";
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