diff --git a/stable/keycloak/Chart.yaml b/stable/keycloak/Chart.yaml index ca6f0573e1..2b233e98ff 100644 --- a/stable/keycloak/Chart.yaml +++ b/stable/keycloak/Chart.yaml @@ -1,5 +1,5 @@ name: keycloak -version: 3.3.0 +version: 3.4.0 appVersion: 4.2.1.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 2e9d708a14..fa9aaff1a8 100644 --- a/stable/keycloak/README.md +++ b/stable/keycloak/README.md @@ -61,6 +61,7 @@ Parameter | Description | Default `keycloak.affinity` | Pod affinity. Passed through the `tpl` funtion and thus to be configured a string | `Hard node and soft zone anti-affinity` `keycloak.nodeSelector` | Node labels for pod assignment | `{}` `keycloak.tolerations` | Node taints to tolerate | `[]` +`keycloak.podAnnotations` | Extra annotations to add to pod | `{}` `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 93b090cb0c..30af67ddee 100644 --- a/stable/keycloak/templates/statefulset.yaml +++ b/stable/keycloak/templates/statefulset.yaml @@ -20,6 +20,10 @@ spec: labels: app: {{ template "keycloak.name" . }} release: "{{ .Release.Name }}" +{{- if .Values.keycloak.podAnnotations }} + annotations: +{{ toYaml .Values.keycloak.podAnnotations | indent 8 }} +{{- end }} spec: securityContext: {{ toYaml .Values.keycloak.securityContext | indent 8 }} diff --git a/stable/keycloak/values.yaml b/stable/keycloak/values.yaml index 79a56e881b..6c0a9153bc 100644 --- a/stable/keycloak/values.yaml +++ b/stable/keycloak/values.yaml @@ -85,6 +85,9 @@ keycloak: nodeSelector: {} tolerations: [] + ## Extra Annotations to be added to pod + podAnnotations: {} + livenessProbe: initialDelaySeconds: 120 timeoutSeconds: 5