diff --git a/chart/templates/_helpers.tpl b/chart/templates/_helpers.tpl index 904fbc67..d75310e0 100644 --- a/chart/templates/_helpers.tpl +++ b/chart/templates/_helpers.tpl @@ -36,5 +36,8 @@ Selector labels app.kubernetes.io/name: {{ include "config-db.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} control-plane: {{ include "config-db.name" . }} +{{- if .Values.global.labels }} +{{.Values.global.labels | toYaml}} +{{- end }} {{- end }} diff --git a/chart/values.yaml b/chart/values.yaml index e6b3b020..3bd9d73c 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -4,6 +4,7 @@ global: imageRegistry: docker.io imagePrefix: flanksource + labels: {} db: connectionPooler: enabled: false