Skip to content

Commit

Permalink
83: fix cronjob volumes (#84)
Browse files Browse the repository at this point in the history
Co-authored-by: Alessandro De Maria <ademaria@kapicorp.com>
  • Loading branch information
ademariag and alledm authored Mar 25, 2021
1 parent b46b303 commit 92b13dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/generators/kubernetes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def body(self):
self.root.spec.parallelism = component.get("parallelism", 1)


class CronJob(k8s.Base):
class CronJob(k8s.Base, WorkloadCommon):
def new(self):
self.kwargs.apiVersion = "batch/v1beta1"
self.kwargs.kind = "CronJob"
Expand Down

0 comments on commit 92b13dc

Please sign in to comment.