Andreas Geissler | 723038e | 2024-02-07 10:31:05 +0100 | [diff] [blame^] | 1 | --- |
| 2 | command: |
| 3 | - "/opt/keycloak/bin/kc.sh" |
| 4 | - "--verbose" |
| 5 | - "start" |
| 6 | - "--http-enabled=true" |
| 7 | - "--http-port=8080" |
| 8 | - "--hostname-strict=false" |
| 9 | - "--hostname-strict-https=false" |
| 10 | - "--spi-events-listener-jboss-logging-success-level=info" |
| 11 | - "--spi-events-listener-jboss-logging-error-level=warn" |
Andreas Geissler | e08eee0 | 2023-04-21 14:21:37 +0200 | [diff] [blame] | 12 | |
| 13 | extraEnv: | |
Andreas Geissler | 723038e | 2024-02-07 10:31:05 +0100 | [diff] [blame^] | 14 | - name: KEYCLOAK_ADMIN |
Andreas Geissler | e08eee0 | 2023-04-21 14:21:37 +0200 | [diff] [blame] | 15 | valueFrom: |
| 16 | secretKeyRef: |
| 17 | name: {{ include "keycloak.fullname" . }}-admin-creds |
| 18 | key: user |
Andreas Geissler | 723038e | 2024-02-07 10:31:05 +0100 | [diff] [blame^] | 19 | - name: KEYCLOAK_ADMIN_PASSWORD |
Andreas Geissler | e08eee0 | 2023-04-21 14:21:37 +0200 | [diff] [blame] | 20 | valueFrom: |
| 21 | secretKeyRef: |
| 22 | name: {{ include "keycloak.fullname" . }}-admin-creds |
| 23 | key: password |
Andreas Geissler | 723038e | 2024-02-07 10:31:05 +0100 | [diff] [blame^] | 24 | - name: JAVA_OPTS_APPEND |
| 25 | value: >- |
| 26 | -XX:+UseContainerSupport |
| 27 | -XX:MaxRAMPercentage=50.0 |
| 28 | -Djava.awt.headless=true |
| 29 | -Djgroups.dns.query={{ include "keycloak.fullname" . }}-headless |
Andreas Geissler | e08eee0 | 2023-04-21 14:21:37 +0200 | [diff] [blame] | 30 | - name: PROXY_ADDRESS_FORWARDING |
| 31 | value: "true" |
| 32 | |
Andreas Geissler | 723038e | 2024-02-07 10:31:05 +0100 | [diff] [blame^] | 33 | dbchecker: |
| 34 | enabled: true |
Andreas Geissler | e08eee0 | 2023-04-21 14:21:37 +0200 | [diff] [blame] | 35 | |
Andreas Geissler | 723038e | 2024-02-07 10:31:05 +0100 | [diff] [blame^] | 36 | database: |
| 37 | vendor: postgres |
| 38 | hostname: keycloak-db-postgresql |
| 39 | port: 5432 |
| 40 | username: dbusername |
| 41 | password: dbpassword |
| 42 | database: keycloak |
Andreas Geissler | e08eee0 | 2023-04-21 14:21:37 +0200 | [diff] [blame] | 43 | |
| 44 | secrets: |
| 45 | admin-creds: |
Andreas Geissler | e08eee0 | 2023-04-21 14:21:37 +0200 | [diff] [blame] | 46 | stringData: |
| 47 | user: admin |
Andreas Geissler | 723038e | 2024-02-07 10:31:05 +0100 | [diff] [blame^] | 48 | password: secret |