Add annotation checksum to force pod restart on secret/configmap change (#14521)

Signed-off-by: Etienne Tremel <etienne@kogusenn.com>
This commit is contained in:
Etienne
2019-06-17 06:44:09 -07:00
committed by Kubernetes Prow Robot
parent 64ec62d891
commit 0dc8468615
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ description: |
Configure external DNS servers (AWS Route53, Google CloudDNS and others)
for Kubernetes Ingresses and Services
name: external-dns
version: 1.7.9
version: 1.7.10
appVersion: 0.5.14
home: https://github.com/kubernetes-incubator/external-dns
sources:
@@ -11,6 +11,12 @@ spec:
annotations: {{ toYaml .Values.podAnnotations | nindent 8}}
{{- end }}
labels: {{ include "external-dns.labels" . | indent 8 }}
{{- if or (and .Values.aws.secretKey .Values.aws.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 }}
{{- end }}
{{- if and (eq .Values.provider "designate") .Values.designate.customCA.enabled }}
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- end }}
spec:
{{- if .Values.image.pullSecrets }}
imagePullSecrets: