From aaf0e3e9ed6d7553941dfc9238fb9f31e63ff6e7 Mon Sep 17 00:00:00 2001 From: Patrice Ferlet Date: Wed, 1 Jun 2022 16:03:38 +0200 Subject: [PATCH] Cleanup --- helm/cronTab.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/helm/cronTab.go b/helm/cronTab.go index 2f41112..5316503 100644 --- a/helm/cronTab.go +++ b/helm/cronTab.go @@ -35,11 +35,6 @@ func NewCrontab(name, image, command, schedule string, serviceAccount *ServiceAc cron.K8sBase.ApiVersion = "batch/v1" cron.K8sBase.Kind = "CronJob" - //cmd, err := shlex.Split(command) - //if err != nil { - // panic(err) - //} - cron.K8sBase.Metadata.Name = ReleaseNameTpl + "-" + name cron.K8sBase.Metadata.Labels[K+"/component"] = name cron.Spec.Schedule = schedule