Skip to content

Commit 375b2ac

Browse files
committed
[keycloak] Switch back to using env var PROXY_ADDRESS_FORWARDING
Proxy address forwarding was directly enabled via CLI but missed one location. This commit, thus, switches back to using the environment variable as meant by the Keycloak Docker image and set the envs var to 'true' by default to keep the existing behavior. Signed-off-by: Reinhard Nägele <[email protected]>
1 parent 5840a83 commit 375b2ac

File tree

5 files changed

+4
-8
lines changed

5 files changed

+4
-8
lines changed

charts/keycloak/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: keycloak
2-
version: 4.11.1
2+
version: 4.11.2
33
appVersion: 5.0.0
44
description: Open Source Identity and Access Management For Modern Applications and Services
55
keywords:

charts/keycloak/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Parameter | Description | Default
5656
`keycloak.existingSecretKey` | The key in `keycloak.existingSecret` that stores the admin password | `password`
5757
`keycloak.extraInitContainers` | Additional init containers, e. g. for providing themes, etc. Passed through the `tpl` function and thus to be configured a string | `""`
5858
`keycloak.extraContainers` | Additional sidecar containers, e. g. for a database proxy, such as Google's cloudsql-proxy. Passed through the `tpl` function and thus to be configured a string | `""`
59-
`keycloak.extraEnv` | Allows the specification of additional environment variables for Keycloak. Passed through the `tpl` function and thus to be configured a string | `""`
59+
`keycloak.extraEnv` | Allows the specification of additional environment variables for Keycloak. Passed through the `tpl` function and thus to be configured a string | `PROXY_ADDRESS_FORWARDING="true"`
6060
`keycloak.extraVolumeMounts` | Add additional volumes mounts, e. g. for custom themes. Passed through the `tpl` function and thus to be configured a string | `""`
6161
`keycloak.extraVolumes` | Add additional volumes, e. g. for custom themes. Passed through the `tpl` function and thus to be configured a string | `""`
6262
`keycloak.extraPorts` | Add additional ports, e. g. for custom admin console port. Passed through the `tpl` function and thus to be configured a string | `""`
@@ -79,7 +79,6 @@ Parameter | Description | Default
7979
`keycloak.readinessProbe.timeoutSeconds` | Readiness Probe `timeoutSeconds` | `1`
8080
`keycloak.cli.nodeIdentifier` | WildFly CLI script for setting the node identifier | See `values.yaml`
8181
`keycloak.cli.logging` | WildFly CLI script for logging configuration | See `values.yaml`
82-
`keycloak.cli.reverseProxy` | WildFly CLI script for reverse proxy configuration | See `values.yaml`
8382
`keycloak.cli.ha` | Settings for HA setups | See `values.yaml`
8483
`keycloak.cli.custom` | Additional custom WildFly CLI script | `""`
8584
`keycloak.service.annotations` | Annotations for the Keycloak service | `{}`

charts/keycloak/scripts/reverse-proxy.cli

Lines changed: 0 additions & 3 deletions
This file was deleted.

charts/keycloak/templates/configmap.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ data:
4242

4343
{{ tpl .logging $ | indent 4 }}
4444

45-
{{ tpl .reverseProxy $ | indent 4 }}
46-
4745
{{ tpl .datasource $ | indent 4 }}
4846

4947
{{- if $highAvailability }}

charts/keycloak/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ keycloak:
6767

6868
## Allows the specification of additional environment variables for Keycloak
6969
extraEnv: |
70+
- name: PROXY_ADDRESS_FORWARDING
71+
value: "true"
7072
# - name: KEYCLOAK_LOGLEVEL
7173
# value: DEBUG
7274
# - name: WILDFLY_LOGLEVEL

0 commit comments

Comments
 (0)