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

Fix decode flag in deploy_postgis

parent 347c8e9a
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ fi
# This is the first time we've installed this
if [[ "$sec_info" == "" ]]; then
# Enable PostGIS extension
POSTGRES_PASSWORD=$(kubectl get secret -n $ns ${auth_sec} -o jsonpath-"{.data.postgresql-password}" | base64 --decode)
POSTGRES_PASSWORD=$(kubectl get secret -n $ns ${auth_sec} -o jsonpath-"{.data.postgresql-password}" | base64 -d)
pod_name=$(get_pod_name ${release_name})
kubectl exec -n $ns ${pod_name} -- bash -c "PGPASSWORD=$POSTGRES_PASSWORD; psql -U postgres -d postgres -c 'CREATE EXTENSION postgis;'"
status=$?
......
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