mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-10 08:20:59 +00:00
* support for more helm template args * move templateArgs and unit tests to api/types * undo package name change * use our own simple helm chart instead of forking one * add argument to AsHelmArgs * code review * lint errors
7 lines
129 B
Smarty
7 lines
129 B
Smarty
{{- define "apiversion" -}}
|
|
{{- if .Capabilities.APIVersions.Has "foo/v1" -}}
|
|
foo/v1
|
|
{{- else -}}
|
|
apps/v1
|
|
{{- end -}}
|
|
{{- end -}} |