diff --git a/helpers/deploy_postgis.sh b/helpers/deploy_postgis.sh index e47a5bf8408b4f27b2848ab668d2e49aa2b24641..f799785e921ed0c7c9b6b934ca0d13602a616f9d 100755 --- a/helpers/deploy_postgis.sh +++ b/helpers/deploy_postgis.sh @@ -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=$?