diff --git a/stable/keycloak/Chart.yaml b/stable/keycloak/Chart.yaml index ab752d7c2a..1b982646e3 100644 --- a/stable/keycloak/Chart.yaml +++ b/stable/keycloak/Chart.yaml @@ -1,5 +1,5 @@ name: keycloak -version: 4.0.8 +version: 4.1.0 appVersion: 4.5.0.Final description: Open Source Identity and Access Management For Modern Applications and Services keywords: diff --git a/stable/keycloak/README.md b/stable/keycloak/README.md index 0ccae98486..2f48a55899 100644 --- a/stable/keycloak/README.md +++ b/stable/keycloak/README.md @@ -63,6 +63,7 @@ Parameter | Description | Default `keycloak.nodeSelector` | Node labels for pod assignment | `{}` `keycloak.tolerations` | Node taints to tolerate | `[]` `keycloak.podAnnotations` | Extra annotations to add to pod | `{}` +`keycloak.hostAliases` | Mapping between IP and hostnames that will be injected as entries in the pod's hosts files | `[]` `keycloak.securityContext` | Security context for the pod | `{runAsUser: 1000, fsGroup: 1000, runAsNonRoot: true}` `keycloak.preStartScript` | Custom script to run before Keycloak starts up | `` `keycloak.extraArgs` | Additional arguments to the start command | `` diff --git a/stable/keycloak/templates/statefulset.yaml b/stable/keycloak/templates/statefulset.yaml index c42cde1ab4..accf478ea2 100644 --- a/stable/keycloak/templates/statefulset.yaml +++ b/stable/keycloak/templates/statefulset.yaml @@ -30,6 +30,10 @@ spec: {{ toYaml .Values.keycloak.podAnnotations | indent 8 }} {{- end }} spec: +{{- with .Values.keycloak.hostAliases }} + hostAliases: +{{ toYaml . | indent 8 }} +{{- end }} securityContext: {{ toYaml .Values.keycloak.securityContext | indent 8 }} {{- with .Values.keycloak.image.pullSecrets }} diff --git a/stable/keycloak/values.yaml b/stable/keycloak/values.yaml index 913dc40ac0..79df43756c 100644 --- a/stable/keycloak/values.yaml +++ b/stable/keycloak/values.yaml @@ -21,6 +21,11 @@ keycloak: pullSecrets: [] # - myRegistrKeySecretName + hostAliases: [] + # - ip: "1.2.3.4" + # hostnames: + # - "my.host.com" + securityContext: runAsUser: 1000 fsGroup: 1000