Reverted previous change

This commit is contained in:
cunningpike 2023-02-06 11:57:17 -05:00 committed by GitHub
parent 769b3fd3d6
commit 56fbe062bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 8 deletions

View File

@ -51,6 +51,14 @@ app.kubernetes.io/name: {{ include "fediblockhole.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }} {{- end }}
{{/*
Rolling pod annotations
*/}}
{{- define "fediblockhole.rollingPodAnnotations" -}}
rollme: {{ .Release.Revision | quote }}
checksum/config-configmap: {{ include ( print $.Template.BasePath "/configmap-conf-toml.yaml" ) . | sha256sum | quote }}
{{- end }}
{{/* {{/*
Create the default conf file path and filename Create the default conf file path and filename
*/}} */}}
@ -60,11 +68,3 @@ Create the default conf file path and filename
{{- define "fediblockhole.conf_file_filename" -}} {{- define "fediblockhole.conf_file_filename" -}}
{{- default "fediblockhole.conf.toml" .Values.fediblockhole.conf_file.filename }} {{- default "fediblockhole.conf.toml" .Values.fediblockhole.conf_file.filename }}
{{- end }} {{- end }}
{{/*
Rolling pod annotations
*/}}
{{- define "fediblockhole.rollingPodAnnotations" -}}
rollme: {{ .Release.Revision | quote }}
checksum/config-configmap: {{- include "fediblockhole.conf_file_path" . -}}{{- include "fediblockhole.conf_file_filename" . -}} | sha256sum | quote }}
{{- end }}