Andreas Geissler | e08eee0 | 2023-04-21 14:21:37 +0200 | [diff] [blame] | 1 | image: |
| 2 | # The Keycloak image repository |
| 3 | repository: quay.io/keycloak/keycloak |
| 4 | # Overrides the Keycloak image tag whose default is the chart appVersion |
| 5 | tag: "19.0.3-legacy" |
| 6 | |
| 7 | postgresql: |
| 8 | # If `true`, the Postgresql dependency is enabled |
| 9 | enabled: false |
| 10 | |
| 11 | extraEnv: | |
| 12 | - name: KEYCLOAK_USER |
| 13 | valueFrom: |
| 14 | secretKeyRef: |
| 15 | name: {{ include "keycloak.fullname" . }}-admin-creds |
| 16 | key: user |
| 17 | - name: KEYCLOAK_PASSWORD |
| 18 | valueFrom: |
| 19 | secretKeyRef: |
| 20 | name: {{ include "keycloak.fullname" . }}-admin-creds |
| 21 | key: password |
| 22 | - name: DB_VENDOR |
| 23 | value: postgres |
| 24 | - name: DB_ADDR |
| 25 | value: keycloak-db-postgresql |
| 26 | - name: DB_PORT |
| 27 | value: "5432" |
| 28 | - name: DB_DATABASE |
| 29 | value: keycloak |
| 30 | - name: DB_USER |
| 31 | value: dbusername |
| 32 | - name: DB_PASSWORD_FILE |
| 33 | value: /secrets/db-creds/password |
| 34 | - name: PROXY_ADDRESS_FORWARDING |
| 35 | value: "true" |
| 36 | |
| 37 | extraVolumeMounts: | |
| 38 | - name: db-creds |
| 39 | mountPath: /secrets/db-creds |
| 40 | readOnly: true |
| 41 | |
| 42 | extraVolumes: | |
| 43 | - name: db-creds |
| 44 | secret: |
| 45 | secretName: keycloak-db-postgresql |
| 46 | |
| 47 | secrets: |
| 48 | admin-creds: |
| 49 | annotations: |
| 50 | my-test-annotation: Test secret for {{ include "keycloak.fullname" . }} |
| 51 | stringData: |
| 52 | user: admin |
| 53 | password: secret |