From 04e82053015ab77777f37648296c7ca8da058375 Mon Sep 17 00:00:00 2001 From: Gary Date: Fri, 1 Nov 2024 01:50:31 +0800 Subject: [PATCH] fix(api-gateway): add minio port in _helpers.tpl (#1147) Because there is a lack on helpers.tpl This commit adds a new Helm template helper `core.minio.port` to define MinIO's default port (9000) --- charts/core/templates/_helpers.tpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/core/templates/_helpers.tpl b/charts/core/templates/_helpers.tpl index f76c2488..00645dcf 100644 --- a/charts/core/templates/_helpers.tpl +++ b/charts/core/templates/_helpers.tpl @@ -500,4 +500,8 @@ minio */}} {{- define "core.minio" -}} {{- printf "%s-minio" (include "core.fullname" .) -}} +{{- end -}} + +{{- define "core.minio.port" -}} + {{- printf "9000" -}} {{- end -}} \ No newline at end of file