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