Skip to content

Commit

Permalink
feat: use single database for shogun and keycloak
Browse files Browse the repository at this point in the history
  • Loading branch information
ahennr committed Apr 9, 2024
1 parent 8d89a2c commit 8c73829
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/shogun/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type: application
version: 1.0.0
dependencies:
- name: postgis
version: "1.2.2"
version: "2.0.0"
repository: "https://terrestris.github.io/helm-charts"
condition: postgis.enabled
- name: geoserver
Expand Down
14 changes: 14 additions & 0 deletions charts/shogun/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ shogun-client:

postgis:
enabled: true
postgres:
database: shogun
username: shogun
customInit:
enabled: true
username: keycloak
databases:
- keycloak

geoserver:
enabled: true
Expand Down Expand Up @@ -101,6 +109,12 @@ keycloak:
extraVolumeMounts:
- name: realm-import
mountPath: /opt/bitnami/keycloak/data/import
externalDatabase:
host: shogun-postgis
user: keycloak
database: keycloak
existingSecret: shogun-postgis-keycloak-credentials
existingSecretPasswordKey: custom-user-password

mapfish-print:
enabled: true

0 comments on commit 8c73829

Please sign in to comment.