From 43a8e665bc46ed26d64679efe9432f2d4d6c1c93 Mon Sep 17 00:00:00 2001 From: Dwight Donovan Benvenuto <0x46616c6b@users.noreply.github.com> Date: Thu, 8 Aug 2019 13:27:21 +0200 Subject: [PATCH] readd podLabels to external-dns chart (#16162) Signed-off-by: louis --- stable/external-dns/Chart.yaml | 2 +- stable/external-dns/templates/_helpers.tpl | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/stable/external-dns/Chart.yaml b/stable/external-dns/Chart.yaml index 06d4154baa..263b2c59d5 100644 --- a/stable/external-dns/Chart.yaml +++ b/stable/external-dns/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: external-dns -version: 2.5.1 +version: 2.5.2 appVersion: 0.5.15 description: ExternalDNS is a Kubernetes addon that configures public DNS servers with information about exposed Kubernetes services to make them discoverable. keywords: diff --git a/stable/external-dns/templates/_helpers.tpl b/stable/external-dns/templates/_helpers.tpl index c3f2e61d88..65b5f8ae4c 100644 --- a/stable/external-dns/templates/_helpers.tpl +++ b/stable/external-dns/templates/_helpers.tpl @@ -40,6 +40,9 @@ app.kubernetes.io/managed-by: {{ .Release.Service }} {{- end -}} {{/* matchLabels */}} +{{- if .Values.podLabels }} +{{ toYaml .Values.podLabels }} +{{- end }} {{- define "external-dns.matchLabels" -}} app.kubernetes.io/name: {{ template "external-dns.name" . }} app.kubernetes.io/instance: {{ .Release.Name }}