Retrieve cronjob app version

This commit is contained in:
Waqar Ahmed
2021-01-28 22:32:26 +05:00
parent 49a08334e0
commit 1b0c2107e5

View File

@@ -18,3 +18,10 @@ Return the appropriate apiVersion for StatefulSet objects.
{{- define "common.capabilities.statefulset.apiVersion" -}}
{{- print "apps/v1" -}}
{{- end -}}
{{/*
Return the appropriate apiVersion for StatefulSet objects.
*/}}
{{- define "common.capabilities.cronjob.apiVersion" -}}
{{- print "batch/v1beta1" -}}
{{- end -}}