From 7909dd9431dd2621a590ec95165dbf3fe861323f Mon Sep 17 00:00:00 2001 From: Ed Adasiak Date: Fri, 1 Mar 2024 14:01:01 -0800 Subject: [PATCH] Fixes Helm reference include reference --- templates/helm/templates/_helpers.tpl.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/helm/templates/_helpers.tpl.tpl b/templates/helm/templates/_helpers.tpl.tpl index 9c42c587..56f4409d 100644 --- a/templates/helm/templates/_helpers.tpl.tpl +++ b/templates/helm/templates/_helpers.tpl.tpl @@ -44,7 +44,8 @@ {{ "{{/* The path the shared credentials file is mounted */}}" }} {{ DefineTemplate "aws.credentials.path" }} -{{ "{{- printf \"%s/%s\" (include \"aws.credentials.secret_mount_path\" .) .Values.aws.credentials.secretKey -}}" }} +{{ VarIncludeTemplate "secret_mount_path" "aws.credentials.secret_mount_path" }} +{{ "{{- printf \"%s/%s\" $secret_mount_path .Values.aws.credentials.secretKey -}}" }} {{ "{{- end -}}" }} {{ "{{/* The rules a of ClusterRole or Role */}}" }}