Correction of CronJob APIVersion

mine
Steffen Krause 2021-01-07 21:41:25 -05:00
parent f929114ae4
commit 65546ada14
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ func (c *CronJob) Run(path string) error {
Labels: cj.Spec.JobTemplate.Labels,
OwnerReferences: []metav1.OwnerReference{
{
APIVersion: "batch/v1beta",
APIVersion: "batch/v1beta1",
Kind: "CronJob",
BlockOwnerDeletion: &true,
Name: cj.Name,