Delegate permanently override tag
pending feedback
P
Psychological Firefly
We recently had our upgrader job break our delegates because the override we specific using this api, (https://apidocs.harness.io/tag/Delegate-Setup-Resource#operation/publishedDelegateVersion), expired. This broke our delegates because our runner clusters do not have internet access, and the upgrader set the delegates to pull the public image, sending our delegate workload into a imagepullbackoff loop
Log In
P
Psychological Firefly
Thanks Abhishek,
I believe that we can make use that field to set a long enough time period, considering that we will need to be performing upgrades fairly regularly to keep up with the updates from Harness.
My intention here is to avoid any accidental auto-upgrades to a public image like we experienced last month. Is there a way to have this upgrader process always use our private delegate image and never attempt to pull the public image?
A
Abhishek Thamman
pending feedback
A
Abhishek Thamman
under review
Hi Psychological Firefly,
Thanks for your request. It is possible to set a validity for your override using the validForDays query param while creating the override. Please refer https://apidocs.harness.io/tag/Delegate-Setup-Resource#operation/overrideDelegateImageTag_1 for more details. You can add a large value to this param if you wish for the override to not expire for a long time. Please let me know if this works.
Regards,
Abhishek Thamman