From c6a4bbd17052b8bfe2c5df49a49213b165f1cc78 Mon Sep 17 00:00:00 2001 From: cunningpike <117583036+cunningpike@users.noreply.github.com> Date: Mon, 23 Jan 2023 11:26:14 -0500 Subject: [PATCH] Update _helpers.tpl --- chart/templates/_helpers.tpl | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/chart/templates/_helpers.tpl b/chart/templates/_helpers.tpl index d2b8332..bf47fd3 100644 --- a/chart/templates/_helpers.tpl +++ b/chart/templates/_helpers.tpl @@ -56,26 +56,5 @@ Rolling pod annotations */}} {{- define "fediblockhole.rollingPodAnnotations" -}} rollme: {{ .Release.Revision | quote }} -checksum/config-secrets: {{ include ( print $.Template.BasePath "/secrets.yaml" ) . | sha256sum | quote }} checksum/config-configmap: {{ include ( print $.Template.BasePath "/configmap-conf-toml.yaml" ) . | sha256sum | quote }} {{- end }} - -{{/* -Get the fediblockhole secret. -*/}} -{{- define "fediblockhole.secretName" -}} -{{- if .Values.fediblockhole.secrets.existingSecret }} - {{- printf "%s" (tpl .Values.fediblockhole.secrets.existingSecret $) -}} -{{- else -}} - {{- printf "%s" (include "common.names.fullname" .) -}} -{{- end -}} -{{- end -}} - -{{/* -Return true if a fediblockhole secret object should be created -*/}} -{{- define "fediblockhole.createSecret" -}} -{{- if (not .Values.fediblockhole.secrets.existingSecret) -}} - {{- true -}} -{{- end -}} -{{- end -}}