github.com/zsuzhengdu/helm@v3.0.0-beta.3+incompatible/cmd/helm/testdata/testcharts/chart-with-template-lib-dep/charts/common/templates/_configmap.yaml (about) 1 {{- define "common.configmap.tpl" -}} 2 apiVersion: v1 3 kind: ConfigMap 4 {{ template "common.metadata" . }} 5 data: {} 6 {{- end -}} 7 {{- define "common.configmap" -}} 8 {{- template "common.util.merge" (append . "common.configmap.tpl") -}} 9 {{- end -}}