Skip to content
Snippets Groups Projects
Verified Commit edc96193 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(mastodon): Drop `rollme` annotation forcing unnecessary redeployments

This patch removes the `rollme` annotation that is used to force
redeployments on upgrades. However, it's quite unnecessary since config
changes and image upgrades are already covered.

Currently it causes more harm than helping.
parent bd5de3db
No related branches found
No related tags found
No related merge requests found
Pipeline #18163 failed
...@@ -55,7 +55,6 @@ app.kubernetes.io/instance: {{ .Release.Name }} ...@@ -55,7 +55,6 @@ app.kubernetes.io/instance: {{ .Release.Name }}
Rolling pod annotations Rolling pod annotations
*/}} */}}
{{- define "mastodon.rollingPodAnnotations" -}} {{- define "mastodon.rollingPodAnnotations" -}}
rollme: {{ .Release.Revision | quote }}
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 }}
...@@ -147,4 +146,4 @@ Find highest number of needed database connections to set DB_POOL variable ...@@ -147,4 +146,4 @@ Find highest number of needed database connections to set DB_POOL variable
{{- $poolSize = max $poolSize .concurrency }} {{- $poolSize = max $poolSize .concurrency }}
{{- end }} {{- end }}
{{- $poolSize | quote }} {{- $poolSize | quote }}
{{- end }} {{- end }}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment