Commit 1b0c2107 authored by Waqar Ahmed's avatar Waqar Ahmed

Retrieve cronjob app version

parent 49a08334
......@@ -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 -}}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment