mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-17 16:12:37 +02:00
feat: include func support (#1187)
* feat: include func support Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
{{- define "echo" -}}
|
||||
nested-{{ .Echo }}
|
||||
{{- end }}
|
||||
@@ -0,0 +1,12 @@
|
||||
releases:
|
||||
- name: '{{ include "echo" (dict "Echo" "include") }}'
|
||||
chart: ../../../../charts/raw
|
||||
values:
|
||||
- templates:
|
||||
- |
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ include "echo" (dict "Echo" "include") }}
|
||||
data:
|
||||
name: {{ include "echo" (dict "Echo" "include") }}
|
||||
Reference in New Issue
Block a user