diff --git a/src/bin/auto-deploy b/src/bin/auto-deploy index 3b4e9e8f99f9fc73a5a27576aa3f3c626224bf18..48589dffc10cce02c0fe2cc4045a65ffe512cb64 100755 --- a/src/bin/auto-deploy +++ b/src/bin/auto-deploy @@ -62,7 +62,9 @@ function download_chart() { function add_chart_repositories() { helm repo add stable https://charts.helm.sh/stable # bitnami repository is used for in-cluster PostgreSQL installation. - helm repo add bitnami https://charts.bitnami.com/bitnami + if [[ "$POSTGRES_ENABLED" == "true" ]]; then + helm repo add bitnami https://charts.bitnami.com/bitnami + fi # Additionaly, users can specify their custom chart repository. add_custom_chart_repository }