[stable/keycloak] Added support for adding extra pod labels (#11857)

* keycloak: Added support for adding extra pod labels

Signed-off-by: Anders Nordström <anders.nordstrom@barium.se>

* [stable/keycloak] Bumped Chart version 4.4.0 -> 4.5.0

Signed-off-by: anbarium <anders.nordstrom@barium.se>
This commit is contained in:
anbarium
2019-03-04 00:50:29 -08:00
committed by Kubernetes Prow Robot
parent 38cf562b01
commit d712e0cfd7
4 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -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:
+1
View File
@@ -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}`
@@ -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 }}
+4
View File
@@ -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: {}