Skip to content

Commit b07af32

Browse files
authored
[keycloak] Fix bind address handling (#72)
Drops setting the system property in favor of setting the BIND environment variable which was added in keycloak/keycloak-containers#151. This does away with a duplicate entry of the system property '-Djboss.bind.address' in the commandline. Signed-off-by: Reinhard Naegele <[email protected]>
1 parent f5bb8c4 commit b07af32

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
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: 5.1.1
2+
version: 5.1.2
33
appVersion: 6.0.1
44
description: Open Source Identity and Access Management For Modern Applications and Services
55
keywords:

charts/keycloak/templates/configmap-sh.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ data:
1212
set -o errexit
1313
set -o nounset
1414
15-
exec /opt/jboss/tools/docker-entrypoint.sh -b 0.0.0.0 {{ .Values.keycloak.extraArgs }}{{- if $highAvailability }} -c standalone-ha.xml{{ else }} -c standalone.xml{{ end }}
15+
exec /opt/jboss/tools/docker-entrypoint.sh {{ .Values.keycloak.extraArgs }}{{- if $highAvailability }} -c standalone-ha.xml{{ else }} -c standalone.xml{{ end }}

charts/keycloak/templates/statefulset.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ spec:
9393
value: "dns_query={{ include "keycloak.serviceDnsName" . }}"
9494
- name: KEYCLOAK_SERVICE_DNS_NAME
9595
value: "{{ include "keycloak.serviceDnsName" . }}"
96+
- name: BIND
97+
value: "0.0.0.0"
9698
{{- end }}
9799
{{- include "keycloak.dbEnvVars" . | nindent 12 }}
98100
{{- with .Values.keycloak.extraEnv }}

0 commit comments

Comments
 (0)