Skip to content

Commit dca5c36

Browse files
authored
Merge ed1bd0d into 20c7b11
2 parents 20c7b11 + ed1bd0d commit dca5c36

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

charts/data-space-connector/templates/database-secrets.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ data:
1111
postgres-user-password: {{ randAlphaNum 30 | b64enc | quote }}
1212
postgres-admin-password: {{ randAlphaNum 30 | b64enc | quote }}
1313
{{- if (eq .Values.postgresql.auth.enablePostgresUser true) }}
14-
postgres-user: "cG9zdGdyZXMK"
14+
postgres-user: cG9zdGdyZXMK
1515
{{- end }}
1616
{{- end }}

charts/data-space-connector/values.yaml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,10 @@ keycloak:
385385
# -- host of the external db to be used
386386
externalDatabase:
387387
host: postgresql
388+
database: keycloak
389+
existingSecret: database-secret
390+
existingSecretPasswordKey: postgres-admin-password
391+
existingSecretUserKey: postgres-user
388392

389393
# -- extra volumes to be mounted
390394
extraVolumeMounts:
@@ -400,18 +404,6 @@ keycloak:
400404
# indicates ssl is terminated at the edge
401405
- name: KC_PROXY
402406
value: "edge"
403-
# config for the db connection
404-
- name: KC_DB_URL_HOST
405-
value: postgresql
406-
- name: KC_DB_URL_DATABASE
407-
value: keycloak
408-
- name: KC_DB_USERNAME
409-
value: postgres
410-
- name: KC_DB_PASSWORD
411-
valueFrom:
412-
secretKeyRef:
413-
name: database-secret
414-
key: postgres-admin-password
415407
# password for reading the key store connected to the did
416408
- name: STORE_PASS
417409
valueFrom:

0 commit comments

Comments
 (0)