From 4c17fdf368f549c370bf6098fea342946a23bc5b Mon Sep 17 00:00:00 2001 From: Ariel Sosnovsky Date: Thu, 14 Mar 2024 17:12:53 -0400 Subject: [PATCH] appLabel --- k8s/apps/ingresses/templates/static-files.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/k8s/apps/ingresses/templates/static-files.yaml b/k8s/apps/ingresses/templates/static-files.yaml index 361032f..29dc6fd 100644 --- a/k8s/apps/ingresses/templates/static-files.yaml +++ b/k8s/apps/ingresses/templates/static-files.yaml @@ -1,7 +1,8 @@ {{ range $staticFile := .Values.staticFiles.secondaryDomain }} -{{ $prefix := printf "sec-domain-%s" $staticFile.path }} {{ $appLabel := replace "." "-" $staticFile.path }} +{{ $prefix := printf "sec-domain-%s" $appLabel }} + --- apiVersion: v1 kind: ConfigMap