From f95313d236c64710726fd132b8ea23939b03fcda Mon Sep 17 00:00:00 2001
From: David Hoese <david.hoese@ssec.wisc.edu>
Date: Thu, 31 Dec 2020 21:35:26 -0600
Subject: [PATCH] Revert admin password change

---
 helpers/deploy_postgis.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/helpers/deploy_postgis.sh b/helpers/deploy_postgis.sh
index fd61934..6cc1028 100755
--- a/helpers/deploy_postgis.sh
+++ b/helpers/deploy_postgis.sh
@@ -34,8 +34,8 @@ echo $sec_info
 auth_sec="${release_name}-postgresql"
 if [[ "$sec_info" != "" ]]; then
     pw=$(kubectl get secret --namespace $ns $auth_sec -o jsonpath="{.data.postgresql-password}" | base64 -d);
-    admin_pw=$(kubectl get secret --namespace $ns $auth_sec -o jsonpath="{.data.postgresql-postgres-password}" | base64 -d);
-    EXTRA_ARGS="--set postgresqlPassword=$pw --set postgresqlPostgresPassword=$admin_pw";
+#    admin_pw=$(kubectl get secret --namespace $ns $auth_sec -o jsonpath="{.data.postgresql-postgres-password}" | base64 -d);
+    EXTRA_ARGS="--set postgresqlPassword=$pw";
 fi
 echo "Adding extra arguments: $EXTRA_ARGS"
 helm repo add bitnami "https://charts.bitnami.com/bitnami"
-- 
GitLab