Debian Codegraph @

api/krusty/testdata/helmcharts/test-chart/templates/_helpers.tpl

raw
1 {{- define "apiversion" -}}
2 {{- if .Capabilities.APIVersions.Has "foo/v1" -}}
3 foo/v1
4 {{- else -}}
5 apps/v1
6 {{- end -}}
7 {{- end -}}