[stable/keycloak] Add hostAliases (#9146)

Fixes: #7498
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
This commit is contained in:
Reinhard Nägele
2019-01-09 07:47:10 -08:00
committed by Kubernetes Prow Robot
parent aaf51886eb
commit abfe0a42ac
4 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -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:
+1
View File
@@ -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 | ``
@@ -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 }}
+5
View File
@@ -21,6 +21,11 @@ keycloak:
pullSecrets: []
# - myRegistrKeySecretName
hostAliases: []
# - ip: "1.2.3.4"
# hostnames:
# - "my.host.com"
securityContext:
runAsUser: 1000
fsGroup: 1000