Skip to content
Snippets Groups Projects
Verified Commit 78de8a56 authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

change login.db.uri to login.db.hostname

parent 298496a1
No related branches found
No related tags found
1 merge request!73Remove postgres, add DB migrations
Pipeline #10990 passed with stages
in 32 seconds
......@@ -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 |
......
......@@ -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 }}
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment