diff --git a/.rhdh/scripts/install.sh b/.rhdh/scripts/install.sh index d5f4e561..0848be70 100755 --- a/.rhdh/scripts/install.sh +++ b/.rhdh/scripts/install.sh @@ -133,11 +133,6 @@ EOF rm -fr /tmp/"$CV"-unpacked fi -# 1. install (or upgrade) -helm upgrade redhat-developer-hub -i "${CHART_URL}" --version "$CV" - -# 2. collect values -PASSWORD=$(kubectl get secret redhat-developer-hub-postgresql -o jsonpath="{.data.password}" | base64 -d) if [[ $(oc auth can-i get route/openshift-console) == "yes" ]]; then CLUSTER_ROUTER_BASE=$(oc get route console -n openshift-console -o=jsonpath='{.spec.host}' | sed 's/^[^.]*\.//') elif [[ -z $CLUSTER_ROUTER_BASE ]]; then @@ -148,10 +143,9 @@ elif [[ -z $CLUSTER_ROUTER_BASE ]]; then exit 1 fi -# 3. change values +# change values helm upgrade redhat-developer-hub -i "${CHART_URL}" --version "$CV" \ - --set global.clusterRouterBase="${CLUSTER_ROUTER_BASE}" \ - --set global.postgresql.auth.password="$PASSWORD" + --set global.clusterRouterBase="${CLUSTER_ROUTER_BASE}" echo " While deploying you can watch at