diff --git a/stable/keycloak/Chart.yaml b/stable/keycloak/Chart.yaml index b9e0d0026e..bf71aef014 100644 --- a/stable/keycloak/Chart.yaml +++ b/stable/keycloak/Chart.yaml @@ -1,5 +1,5 @@ name: keycloak -version: 4.4.0 +version: 4.5.0 appVersion: 4.8.3.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 6dd0d597c9..341557ae69 100644 --- a/stable/keycloak/README.md +++ b/stable/keycloak/README.md @@ -63,6 +63,7 @@ Parameter | Description | Default `keycloak.affinity` | Pod affinity. Passed through the `tpl` function 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.podLabels` | Extra labels to add to pod | `{}` `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}` diff --git a/stable/keycloak/templates/statefulset.yaml b/stable/keycloak/templates/statefulset.yaml index 1ae6379b96..accad02c8d 100644 --- a/stable/keycloak/templates/statefulset.yaml +++ b/stable/keycloak/templates/statefulset.yaml @@ -25,6 +25,9 @@ spec: labels: app: {{ template "keycloak.name" . }} release: "{{ .Release.Name }}" + {{- if .Values.keycloak.podLabels }} +{{ toYaml .Values.keycloak.podLabels | indent 8 }} + {{- end }} {{- if .Values.keycloak.podAnnotations }} annotations: {{ toYaml .Values.keycloak.podAnnotations | indent 8 }} diff --git a/stable/keycloak/values.yaml b/stable/keycloak/values.yaml index d1e800cbe8..9132904875 100644 --- a/stable/keycloak/values.yaml +++ b/stable/keycloak/values.yaml @@ -98,6 +98,10 @@ keycloak: nodeSelector: {} tolerations: [] + ## Additional pod labels + ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ + podLabels: {} + ## Extra Annotations to be added to pod podAnnotations: {}