diff --git a/docs/helmchart.md b/docs/helmchart.md index 98232ad7eb51d3af8079145f701a3c27ffeb0392..f74f35d66752224acc071a529b113d41f4e5cfc0 100644 --- a/docs/helmchart.md +++ b/docs/helmchart.md @@ -40,7 +40,7 @@ This table lists the variables you are most likely to change. Take a look at the | `login.image.tag` | Release version of login provider image | main | | `login.user` | Username of user to create during installation | admin@example.com | | `login.password` | **Password of user to create during installation** | **ThisIsNotASecurePassword** | -| `login.db.uri` | **Database URI for backend** | **single-sign-on-database** | +| `login.db.hostname` | **Database hostname for backend** | **single-sign-on-database** | | `login.db.password` | **Database password for backend** | **YouReallyNeedToChangeThis** | | `login.db.database` | Database name for backend | stackspin | | `login.db.user` | Database user for backend | stackspin | diff --git a/helmchart/single-sign-on/templates/_helpers.tpl b/helmchart/single-sign-on/templates/_helpers.tpl index 47eaa9433491f82123653911074d2211586fba25..e54575feb2bf2bb2c04457b125debffb3ba59e1a 100644 --- a/helmchart/single-sign-on/templates/_helpers.tpl +++ b/helmchart/single-sign-on/templates/_helpers.tpl @@ -86,7 +86,7 @@ Create a secret name which can be overridden. - name: PUBLIC_URL value: https://{{ .Values.singleSignOnHost }}/login - name: DATABASE_URL - value: postgresql://{{ .Values.login.db.user }}:{{ .Values.login.db.password }}@{{ .Values.login.db.uri }}/{{ .Values.login.db.database }} + value: postgresql://{{ .Values.login.db.user }}:{{ .Values.login.db.password }}@{{ .Values.login.db.hostname }}/{{ .Values.login.db.database }} - name: APP_SETTINGS value: config.DevelopmentConfig {{- end }} diff --git a/helmchart/single-sign-on/values.yaml b/helmchart/single-sign-on/values.yaml index 92acf746cbc2d6877b86348f980b8ec8eadaeda7..b303460a7f2185de6eb312976f01867f03cca9f1 100644 --- a/helmchart/single-sign-on/values.yaml +++ b/helmchart/single-sign-on/values.yaml @@ -201,12 +201,12 @@ login: repository: "open.greenhost.net:4567/stackspin/single-sign-on/login" podAnnotations: {} db: - # The URI to an (external) Postgresql instance for SSO-related data. This - # should already exist when you install this helm chart. - uri: single-sign-on-database - # The username, password and database inside the Postgres referenced in - # `login.db.uri`. The database should exist and the user should have access - # to it with the password defined below. + # The hostname of an (external) Postgresql instance for SSO-related data. + # This should already exist when you install this helm chart. + hostname: single-sign-on-database + # The username, password and database inside the Postgres referenced by + # `login.db.hostname`. The database should exist and the user should have + # access to it with the password defined below. user: stackspin password: stackspin database: stackspin