Skip to content

Commit

Permalink
[keycloak] Switch back to using env var PROXY_ADDRESS_FORWARDING
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
unguiculus committed May 9, 2019
1 parent 5840a83 commit 375b2ac
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charts/keycloak/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: keycloak
version: 4.11.1
version: 4.11.2
appVersion: 5.0.0
description: Open Source Identity and Access Management For Modern Applications and Services
keywords:
Expand Down
3 changes: 1 addition & 2 deletions charts/keycloak/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Parameter | Description | Default
`keycloak.existingSecretKey` | The key in `keycloak.existingSecret` that stores the admin password | `password`
`keycloak.extraInitContainers` | Additional init containers, e. g. for providing themes, etc. Passed through the `tpl` function and thus to be configured a string | `""`
`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 | `""`
`keycloak.extraEnv` | Allows the specification of additional environment variables for Keycloak. Passed through the `tpl` function and thus to be configured a string | `""`
`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"`
`keycloak.extraVolumeMounts` | Add additional volumes mounts, e. g. for custom themes. Passed through the `tpl` function and thus to be configured a string | `""`
`keycloak.extraVolumes` | Add additional volumes, e. g. for custom themes. Passed through the `tpl` function and thus to be configured a string | `""`
`keycloak.extraPorts` | Add additional ports, e. g. for custom admin console port. Passed through the `tpl` function and thus to be configured a string | `""`
Expand All @@ -79,7 +79,6 @@ Parameter | Description | Default
`keycloak.readinessProbe.timeoutSeconds` | Readiness Probe `timeoutSeconds` | `1`
`keycloak.cli.nodeIdentifier` | WildFly CLI script for setting the node identifier | See `values.yaml`
`keycloak.cli.logging` | WildFly CLI script for logging configuration | See `values.yaml`
`keycloak.cli.reverseProxy` | WildFly CLI script for reverse proxy configuration | See `values.yaml`
`keycloak.cli.ha` | Settings for HA setups | See `values.yaml`
`keycloak.cli.custom` | Additional custom WildFly CLI script | `""`
`keycloak.service.annotations` | Annotations for the Keycloak service | `{}`
Expand Down
3 changes: 0 additions & 3 deletions charts/keycloak/scripts/reverse-proxy.cli

This file was deleted.

2 changes: 0 additions & 2 deletions charts/keycloak/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ data:

{{ tpl .logging $ | indent 4 }}

{{ tpl .reverseProxy $ | indent 4 }}

{{ tpl .datasource $ | indent 4 }}

{{- if $highAvailability }}
Expand Down
2 changes: 2 additions & 0 deletions charts/keycloak/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ keycloak:

## Allows the specification of additional environment variables for Keycloak
extraEnv: |
- name: PROXY_ADDRESS_FORWARDING
value: "true"
# - name: KEYCLOAK_LOGLEVEL
# value: DEBUG
# - name: WILDFLY_LOGLEVEL
Expand Down

0 comments on commit 375b2ac

Please sign in to comment.