You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then helm template produces duplicates which results in error (only sometimes? Not sure why it works sometimes when doing a hard sync in argo...).
Even if you don't explicitly set the value in the config, it's using the default value in the chart.
A quick solution would be to remove the value from the chart (maybe setting it as null also works). Just leave it as a comment for documentation purposes.
A more complete solution would be to check for uniqueness in the template code or have a way to remove duplicates (in this case explicit envs should have preference).
The text was updated successfully, but these errors were encountered:
lobis
changed the title
Helm template produces diplicated values if using env and config
Helm template produces duplicated values if using env and config
Feb 26, 2025
Found this issue in the
webui
chart, but likely is present elsewhere.When you explicitly add an environment varaible via the
additionalEnv
:and then define it via the config:
then helm template produces duplicates which results in error (only sometimes? Not sure why it works sometimes when doing a hard sync in argo...).
Even if you don't explicitly set the value in the
config
, it's using the default value in the chart.A quick solution would be to remove the value from the chart (maybe setting it as
null
also works). Just leave it as a comment for documentation purposes.A more complete solution would be to check for uniqueness in the template code or have a way to remove duplicates (in this case explicit envs should have preference).
The text was updated successfully, but these errors were encountered: