diff --git a/upstreamed/external-dns/Chart.yaml b/upstreamed/external-dns/Chart.yaml index 832225125..17fb64fd7 100644 --- a/upstreamed/external-dns/Chart.yaml +++ b/upstreamed/external-dns/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: external-dns -version: 2.3.0 +version: 2.3.1 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/upstreamed/external-dns/templates/deployment.yaml b/upstreamed/external-dns/templates/deployment.yaml index 861d32d26..2e3d59824 100755 --- a/upstreamed/external-dns/templates/deployment.yaml +++ b/upstreamed/external-dns/templates/deployment.yaml @@ -9,15 +9,16 @@ spec: matchLabels: {{ include "external-dns.matchLabels" . | nindent 6 }} template: metadata: - {{- if or .Values.podAnnotations .Values.metrics.enabled }} - annotations: {{ include "external-dns.podAnnotations" . | nindent 8 }} - {{- end }} labels: {{ include "external-dns.labels" . | nindent 8 }} + annotations: + {{- if or .Values.podAnnotations .Values.metrics.enabled }} + {{ include "external-dns.podAnnotations" . | nindent 8 }} + {{- end }} {{- if or (and .Values.aws.credentials.secretKey .Values.aws.credentials.accessKey) .Values.cloudflare.apiKey .Values.digitalocean.apiToken (and .Values.infoblox.wapiUsername .Values.infoblox.wapiPassword) .Values.rfc2136.tsigSecret .Values.extraEnv .Values.google.serviceAccountKey }} - checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum | trunc 63 }} + checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }} {{- end }} {{- if and (eq .Values.provider "designate") .Values.designate.customCA.enabled }} - checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum | trunc 63 }} + checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} {{- end }} spec: {{- include "external-dns.imagePullSecrets" . | indent 6 }}