trying to autogen values

This commit is contained in:
ari committed 2023-04-15 05:06:46 +00:00
1 parent 2e26a93006
commit da69d486bd
4 files changed
+8

No files matched your search

File renamed without changes.
File renamed without changes.
+8
View File
@@ -57,6 +57,14 @@ spec:
helm:
valueFiles:
- values.yaml
{{ range $path, $_ := .Files.Glob "../argoapps/values/shared/**.yaml" }}
- {{ $path }}
{{ end }}
{{- $deploymentPath := printf "../argoapps/values/%s/**.yaml" .Values.deployment -}}
{{ range $path, $_ := .Files.Glob $deploymentPath }}
- {{ $path }}
{{ end }}
parameters:
- name: "deployment"
value: {{ .Values.selfapp.deployment | quote }}