From 769b3fd3d61fbdcb6743d01c0647f0ce921ec5bd Mon Sep 17 00:00:00 2001 From: cunningpike <117583036+cunningpike@users.noreply.github.com> Date: Mon, 6 Feb 2023 11:42:53 -0500 Subject: [PATCH] Removed static reference to conf file --- chart/templates/_helpers.tpl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/chart/templates/_helpers.tpl b/chart/templates/_helpers.tpl index 78e6610..a416d2d 100644 --- a/chart/templates/_helpers.tpl +++ b/chart/templates/_helpers.tpl @@ -51,14 +51,6 @@ app.kubernetes.io/name: {{ include "fediblockhole.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} {{- 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 */}} @@ -68,3 +60,11 @@ Create the default conf file path and filename {{- define "fediblockhole.conf_file_filename" -}} {{- default "fediblockhole.conf.toml" .Values.fediblockhole.conf_file.filename }} {{- 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 }}