mirror of https://github.com/linkerd/linkerd2.git
replace linkerd.io/helm-release-version annotation (#4645)
Replace mechanism to automatically roll deployments when secret content changes. As per https://helm.sh/docs/howto/charts_tips_and_tricks/\#automatically-roll-deployments this is a recommended approach to dealing with config changes and rolling deployments upon them. Signed-off-by: Naseem <naseem@transit.app>
This commit is contained in:
parent
c995a0a2b2
commit
96f662dfac
|
@ -33,7 +33,7 @@ spec:
|
|||
metadata:
|
||||
annotations:
|
||||
{{- if empty .Values.global.cliVersion }}
|
||||
linkerd.io/helm-release-version: {{ $.Release.Revision | quote}}
|
||||
checksum/config: {{ include (print $.Template.BasePath "/proxy-injector-rbac.yaml") . | sha256sum }}
|
||||
{{- end }}
|
||||
{{.Values.global.createdByAnnotation}}: {{default (printf "linkerd/helm %s" .Values.global.linkerdVersion) .Values.global.cliVersion}}
|
||||
{{- include "partials.proxy.annotations" .Values.global.proxy| nindent 8}}
|
||||
|
|
|
@ -38,7 +38,7 @@ spec:
|
|||
metadata:
|
||||
annotations:
|
||||
{{- if empty .Values.global.cliVersion }}
|
||||
linkerd.io/helm-release-version: {{ $.Release.Revision | quote}}
|
||||
checksum/config: {{ include (print $.Template.BasePath "/smi-metrics-rbac.yaml") . | sha256sum }}
|
||||
{{- end }}
|
||||
{{.Values.global.createdByAnnotation}}: {{default (printf "linkerd/helm %s" .Values.global.linkerdVersion) .Values.global.cliVersion}}
|
||||
{{- include "partials.proxy.annotations" .Values.global.proxy| nindent 8}}
|
||||
|
|
|
@ -52,7 +52,7 @@ spec:
|
|||
metadata:
|
||||
annotations:
|
||||
{{- if empty .Values.global.cliVersion }}
|
||||
linkerd.io/helm-release-version: {{ $.Release.Revision | quote}}
|
||||
checksum/config: {{ include (print $.Template.BasePath "/sp-validator-rbac.yaml") . | sha256sum }}
|
||||
{{- end }}
|
||||
{{.Values.global.createdByAnnotation}}: {{default (printf "linkerd/helm %s" .Values.global.linkerdVersion) .Values.global.cliVersion}}
|
||||
{{- include "partials.proxy.annotations" .Values.global.proxy| nindent 8}}
|
||||
|
|
|
@ -57,7 +57,7 @@ spec:
|
|||
metadata:
|
||||
annotations:
|
||||
{{- if empty .Values.global.cliVersion }}
|
||||
linkerd.io/helm-release-version: {{ $.Release.Revision | quote}}
|
||||
checksum/config: {{ include (print $.Template.BasePath "/tap-rbac.yaml") . | sha256sum }}
|
||||
{{- end }}
|
||||
{{.Values.global.createdByAnnotation}}: {{default (printf "linkerd/helm %s" .Values.global.linkerdVersion) .Values.global.cliVersion}}
|
||||
{{- include "partials.proxy.annotations" .Values.global.proxy| nindent 8}}
|
||||
|
|
|
@ -1904,7 +1904,7 @@ spec:
|
|||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
linkerd.io/helm-release-version: "0"
|
||||
checksum/config: 6e734f618da84e77b839fe4aef71fef3292e197e2315d8f5c96811ce4ee133e3
|
||||
linkerd.io/created-by: linkerd/helm linkerd-version
|
||||
linkerd.io/identity-mode: default
|
||||
linkerd.io/proxy-version: test-proxy-version
|
||||
|
@ -2153,7 +2153,7 @@ spec:
|
|||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
linkerd.io/helm-release-version: "0"
|
||||
checksum/config: 2ef69096dc03ab049c6767f057e2360ec556c8dfb7290cee5d471f2a8b366cfe
|
||||
linkerd.io/created-by: linkerd/helm linkerd-version
|
||||
linkerd.io/identity-mode: default
|
||||
linkerd.io/proxy-version: test-proxy-version
|
||||
|
@ -2383,7 +2383,7 @@ spec:
|
|||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
linkerd.io/helm-release-version: "0"
|
||||
checksum/config: 394865b9065b74cd3fbb50fc96923c65e29bd4345c2574b5d2511a20effedadb
|
||||
linkerd.io/created-by: linkerd/helm linkerd-version
|
||||
linkerd.io/identity-mode: default
|
||||
linkerd.io/proxy-version: test-proxy-version
|
||||
|
|
|
@ -1905,7 +1905,7 @@ spec:
|
|||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
linkerd.io/helm-release-version: "0"
|
||||
checksum/config: 6e734f618da84e77b839fe4aef71fef3292e197e2315d8f5c96811ce4ee133e3
|
||||
linkerd.io/created-by: linkerd/helm linkerd-version
|
||||
linkerd.io/identity-mode: default
|
||||
linkerd.io/proxy-version: test-proxy-version
|
||||
|
@ -2154,7 +2154,7 @@ spec:
|
|||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
linkerd.io/helm-release-version: "0"
|
||||
checksum/config: 2ef69096dc03ab049c6767f057e2360ec556c8dfb7290cee5d471f2a8b366cfe
|
||||
linkerd.io/created-by: linkerd/helm linkerd-version
|
||||
linkerd.io/identity-mode: default
|
||||
linkerd.io/proxy-version: test-proxy-version
|
||||
|
@ -2384,7 +2384,7 @@ spec:
|
|||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
linkerd.io/helm-release-version: "0"
|
||||
checksum/config: 394865b9065b74cd3fbb50fc96923c65e29bd4345c2574b5d2511a20effedadb
|
||||
linkerd.io/created-by: linkerd/helm linkerd-version
|
||||
linkerd.io/identity-mode: default
|
||||
linkerd.io/proxy-version: test-proxy-version
|
||||
|
|
|
@ -2035,7 +2035,7 @@ spec:
|
|||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
linkerd.io/helm-release-version: "0"
|
||||
checksum/config: ba3686271c366717fdceb99d6391b8a4c74a07f06e361a76754ca2231c69b7c8
|
||||
linkerd.io/created-by: linkerd/helm linkerd-version
|
||||
linkerd.io/identity-mode: default
|
||||
linkerd.io/proxy-version: test-proxy-version
|
||||
|
@ -2320,7 +2320,7 @@ spec:
|
|||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
linkerd.io/helm-release-version: "0"
|
||||
checksum/config: e03a2508f5dbb58434de77a605aeeccb440e4ce1cc5d3f32ca4c5f96537d25f3
|
||||
linkerd.io/created-by: linkerd/helm linkerd-version
|
||||
linkerd.io/identity-mode: default
|
||||
linkerd.io/proxy-version: test-proxy-version
|
||||
|
@ -2586,7 +2586,7 @@ spec:
|
|||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
linkerd.io/helm-release-version: "0"
|
||||
checksum/config: 394865b9065b74cd3fbb50fc96923c65e29bd4345c2574b5d2511a20effedadb
|
||||
linkerd.io/created-by: linkerd/helm linkerd-version
|
||||
linkerd.io/identity-mode: default
|
||||
linkerd.io/proxy-version: test-proxy-version
|
||||
|
|
Loading…
Reference in New Issue