correct file names

This commit is contained in:
Ariel Sosnovsky committed 2023-04-17 16:53:46 -04:00
1 parent 6037c913c5
commit b4cf8f5a53
1 file changed
+4 -4
+4 -4
View File
@@ -32,11 +32,11 @@ spec:
values: |-
{{- $values := ($appProps.values| default "") -}}
{{ if $appProps.valuesFile }}
{{- $valuesFilePath := (printf "chart-values/%s" $appProps.valuesFile) -}}
{{- $valuesFilePath := (printf "apps-values/%s" $appProps.valuesFile) -}}
{{- $values := $.Files.Get $valuesFilePath -}}
{{- tpl $values $ | nindent 10 }}
{{ else }}
{{- tpl $values $ | nindent 10 }}
{{- tpl $values $ | nindent 10 -}}
{{- else -}}
{{- tpl $values $ | nindent 10 -}}
{{- end }}
global:
{{- $.Values.global | toYaml | nindent 12 }}