From 779263e4c28be0da55b87754f42afb94832e7113 Mon Sep 17 00:00:00 2001 From: David Hoese <david.hoese@ssec.wisc.edu> Date: Sun, 20 Dec 2020 09:33:50 -0600 Subject: [PATCH] Fix decode flag in deploy_postgis --- helpers/deploy_postgis.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/deploy_postgis.sh b/helpers/deploy_postgis.sh index e47a5bf..f799785 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=$? -- GitLab