From fa597b799662da7db70807e3afbbd54e11183ade Mon Sep 17 00:00:00 2001 From: Paolo Mainardi Date: Fri, 31 Mar 2023 18:00:16 +0200 Subject: [PATCH] fix: do not use common chart anymore --- Chart.yaml | 3 --- templates/_helpers.tpl | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Chart.yaml b/Chart.yaml index 3c2a32a..1ebc973 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -35,6 +35,3 @@ dependencies: version: 16.13.2 repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami condition: redis.enabled - - name: common - version: 2.2.4 - repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami diff --git a/templates/_helpers.tpl b/templates/_helpers.tpl index 0e1804f..5adbf35 100644 --- a/templates/_helpers.tpl +++ b/templates/_helpers.tpl @@ -94,7 +94,7 @@ Get the mastodon secret. {{- if .Values.mastodon.secrets.existingSecret }} {{- printf "%s" (tpl .Values.mastodon.secrets.existingSecret $) -}} {{- else -}} - {{- printf "%s" (include "common.names.fullname" .) -}} + {{- printf "%s" (include "mastodon.fullname" .) -}} {{- end -}} {{- end -}} @@ -107,7 +107,7 @@ Get the postgresql secret. {{- else if .Values.postgresql.enabled -}} {{- printf "%s-postgresql" (tpl .Release.Name $) -}} {{- else -}} - {{- printf "%s" (include "common.names.fullname" .) -}} + {{- printf "%s" (include "mastodon.fullname" .) -}} {{- end -}} {{- end -}}