Commit 17524265 authored by Hordur Freyr Yngvason's avatar Hordur Freyr Yngvason Committed by Thong Kuah
Browse files

fix: Add extra note about setting POSTGRES_ENABLED=false

Addresses a concern raised in
https://gitlab.com/gitlab-org/gitlab/-/issues/218388 that some users, in
particular users of custom charts, may have the helm value
postgresql.enabled set to true without actually relying on it. For them,
setting POSTGRES_ENABLED=false is the correct way forward, as otherwise
we would install an unwanted database.
parent 8bddaa50
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -182,7 +182,15 @@ channel changed to 2 in of GitLab 13.0.
  WARNING: This will PERMANENTLY DELETE the existing channel 1 database.

  For details on backing up your database and upgrading channels, see
  https://docs.gitlab.com/ee/topics/autodevops/upgrading_postgresql.html'
  https://docs.gitlab.com/ee/topics/autodevops/upgrading_postgresql.html

NOTE: This detection is based on the postgresql.enabled Helm value for your
release, which is controlled by the POSTGRES_ENABLED CI variable. If you are
not using the in-cluster PostgreSQL database at all, you can also set the CI
variable POSTGRES_ENABLED to false.

WARNING: Setting POSTGRES_ENABLED to false will permanently delete any existing
channel 1 database.'

      exit 1
    fi