From da8f15fa4d7334aaf44d9b41efecc199bbfea58a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B3=BD=E6=84=8F?= Date: Fri, 25 Aug 2023 18:21:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0tpl=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/_helpers.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/_helpers.tpl b/templates/_helpers.tpl index 07129fa..c50f31a 100644 --- a/templates/_helpers.tpl +++ b/templates/_helpers.tpl @@ -31,9 +31,9 @@ If release name contains chart name it will be used as a full name. {{- end }} {{- define "beagle.imageArch" -}} -{{- if not (eq "amd64" .Values.global.imageArch) -}} +{{- if not (eq "amd64" .Values.global.imageArch) -}} {{- print "-" .Values.global.imageArch -}} {{- else -}} -{{- print "" -}} +{{- print "-" "amd64" -}} {{- end -}} {{- end }} \ No newline at end of file -- 2.26.0