We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc87dac commit 65da3d8Copy full SHA for 65da3d8
charts/victoria-metrics-agent/templates/_helpers.tpl
@@ -40,7 +40,11 @@
40
{{- range $i, $rw := $Values.remoteWrite }}
41
{{- range $rwKey, $rwValue := $rw }}
42
{{- if or (kindIs "slice" $rwValue) (kindIs "map" $rwValue) }}
43
- {{- $_ := set $rwcm (printf "%d-%s.yaml" $i $rwKey) (toYaml $rwValue) }}
+ {{- $rwContent := toYaml $rwValue }}
44
+ {{- if $Values.config.useTpl }}
45
+ {{- $rwContent = tpl $rwContent $ | trim }}
46
+ {{- end }}
47
+ {{- $_ := set $rwcm (printf "%d-%s.yaml" $i $rwKey) $rwContent }}
48
{{- end -}}
49
50
0 commit comments