wewelll
(Samuel Briole)
September 13, 2024, 9:11pm
1
On Qovery’s console I’m trying to add a label group to a CronJob.
I select the label group, then click “save”, it shows a confirmation “service updated” but when I refresh the page, the label group is gone.
Debugging the network shows that the PUT request on https://api.qovery.com/job/:jobId has a payload with:
labels_groups: []
Hello @wewelll ,
Thanks for the report, I tried to reproduce this issue on our side but I was unable to.
Could you please send me the link to your service?
Best,
Rémi
wewelll
(Samuel Briole)
September 16, 2024, 4:22pm
3
Thanks for sharing,
I apologize for the issue. Indeed we had a problem with the Cron Job as a container. I’ve added a release with the fix, so it should be fine now.
Please let me know if you encounter any other issues!
Best,
Rémi
wewelll
(Samuel Briole)
September 16, 2024, 9:27pm
6
Thank you @Remi_Bonnet for your fix.
Now when I save the CronJob, the label stays in the console, but it seems that the label is not propagated to the Pod resource.
I have checked the generated YAML of the pod on K9s and I can’t see the datadog label on it …
wewelll
(Samuel Briole)
September 16, 2024, 9:30pm
7
In the CronJob resource, I can see the label in spec.jobTemplate.metadata.labels, but I think it should also be added to spec.jobTemplate.spec.template.metadata.labels
ffleureau
(Fabien Fleureau)
September 17, 2024, 9:26am
8
Hello @wewelll
Indeed, an issue has been identified and fixed on our side.
The fix will be available in the next release of our engine in the coming days.
Regards,
Fabien
ffleureau
(Fabien Fleureau)
September 19, 2024, 1:45pm
9
Hello @wewelll
The fix has been released.
Can you retry and check it is ok on your side?
Thank you.
Regards,
Fabien