Commit 92c144a3 authored by Aaron Walker's avatar Aaron Walker
Browse files

fix: only download bitnami chart if postgres is enabled

parent 19d4947f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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.
  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
}