Closed YoannMa closed 5 months ago
Never mind, it seems to have been fixed in a later release (I was using v1.26.2)
Hello @YoannMa,
yes, 1.26.2 is already pretty old and a lot has been improved since then. Particularly, with the CronJob implementation, there was some severe flaw I found a while ago. Nowadays I think it should work as expected after the creation of CronJobs was aligned with the code for the other pod-based objects.
Please let us know if you find other problems or room for improvement. And thanks for the heads up!
Hello,
First I wanted to thank the devs behind this lib, really enjoying using it :+1:
As for this issue, I think fields in
jobspec-v1-batch
are not being populated in the resulting YAMLI made a small reproduction with this configuration :
This would generate this using
helm template
(removed useless labels/annotations and containers fields) :You can see that
activeDeadlineSeconds
,backoffLimit
andparallelism
were not populated.I also noticed the cronjob
schedule
field is not pulled from_HULL_OBJECT_TYPE_DEFAULT_
as well, you need to explicitly set it for each cronjob, not sure if it's intended to be that way.