volcano.sh/volcano@v1.9.0/installer/helm/chart/volcano/charts/jobflow/templates/_helpers.tpl (about) 1 {{/* 2 Define apiVersion for CRD. 3 bases stands for v1. 4 */}} 5 {{- define "crd_version" -}} 6 {{- if .Capabilities.APIVersions.Has "apiextensions.k8s.io/v1" -}} 7 bases 8 {{- else -}} 9 v1beta1 10 {{- end -}} 11 {{- end -}}