allow to opt-out from rollme
annotation
This commit is contained in:
parent
ae892d539e
commit
890042fed8
|
@ -55,7 +55,9 @@ app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
Rolling pod annotations
|
Rolling pod annotations
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "mastodon.rollingPodAnnotations" -}}
|
{{- define "mastodon.rollingPodAnnotations" -}}
|
||||||
|
{{- if .Values.revisionPodAnnotation }}
|
||||||
rollme: {{ .Release.Revision | quote }}
|
rollme: {{ .Release.Revision | quote }}
|
||||||
|
{{- end }}
|
||||||
checksum/config-secrets: {{ include ( print $.Template.BasePath "/secrets.yaml" ) . | sha256sum | quote }}
|
checksum/config-secrets: {{ include ( print $.Template.BasePath "/secrets.yaml" ) . | sha256sum | quote }}
|
||||||
checksum/config-configmap: {{ include ( print $.Template.BasePath "/configmap-env.yaml" ) . | sha256sum | quote }}
|
checksum/config-configmap: {{ include ( print $.Template.BasePath "/configmap-env.yaml" ) . | sha256sum | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -399,7 +399,11 @@ serviceAccount:
|
||||||
# set with podAnnotations will be added to all deployment-managed pods.
|
# set with podAnnotations will be added to all deployment-managed pods.
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
|
||||||
# -- The annotations set with jobAnnotations will be added to all job pods.
|
# If set to true, an annotation with the current chart release number will be added to all mastodon pods. This will
|
||||||
|
# cause all pods to be recreated every `helm upgrade` regardless of whether their config or spec changes.
|
||||||
|
revisionPodAnnotation: true
|
||||||
|
|
||||||
|
# The annotations set with jobAnnotations will be added to all job pods.
|
||||||
jobAnnotations: {}
|
jobAnnotations: {}
|
||||||
|
|
||||||
# -- Default resources for all Deployments and jobs unless overwritten
|
# -- Default resources for all Deployments and jobs unless overwritten
|
||||||
|
|
Loading…
Reference in New Issue
Block a user