[BUG] Default pod template init containers no longer work in Flyte-binary 1.14.1 #6204
Open
2 tasks done
Labels
bug
Something isn't working
Describe the bug
Upgrading from Flyte Binary 1.13 to 1.14 broke our default pod template where initContainers was being initialized at runtime. Using compile time pod specs is an option but that would involve pushing the responsibility of pod templating to our flyte users.
This issue explains a bit of how we got init containers to work although there was no documented support in 1.13
#5376 (comment)
This PR adding default-init and primary-init support to compile time specs seems to be the cause https://github.com/flyteorg/flyte/pull/5750/files
sample pod template
Expected behavior
I would expect default default pod templates to still be an option according to https://docs.flyte.org/en/latest/deployment/configuration/general.html#evaluation-order-in-podtemplates
I suspect the newer changes will always take precedence over pod templates
Additional context to reproduce
To reproduce create a default pod template with init container. Set in
plugins.k8
andclusterResourceTemplates.inline
confirm initcontainer using describe pod. Upgrade to 1.14 using the same helm and pod template. InitContainer will be ignored and you will get an Access Denied error attempting to write to the volume mount defined in it.Further discussion https://flyte-org.slack.com/archives/CP2HDHKE1/p1738100120966119
Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: