WIP, possibility to create cronjob

This commit is contained in:
2022-05-24 14:44:31 +02:00
parent 8cf3ff9f73
commit 5fd1e16f1a
8 changed files with 251 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ func NewDeployment(name string) *Deployment {
d.K8sBase.ApiVersion = "apps/v1"
d.K8sBase.Kind = "Deployment"
d.K8sBase.Metadata.Labels[K+"/component"] = name
d.K8sBase.Metadata.Labels[K+"/resource"] = "deployment"
return d
}