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
Looks like it's because the addition of the "affinity:" in the template itself, though it's also coming from the _helpers.tpl "common.pod.properties" function :
affinity:
{{ include "common.node.affinity.multiarch" $config | indent 8 }}
{{ include "common.pod.properties" $config | indent 6 }}
Tried to see if I can fix it in the relevant templates but it's related to the common.pod.properties function which is used a lot across the chart.
The text was updated successfully, but these errors were encountered:
Hi @talron23,
Let me see if I got this correctly: you see that affinities are not merged, thus only the last one takes place. I assume you didn't define custom affinity, did you?
We will check it and update
Yes, affinities are not merged and we use kustomize and it fails to parse it, this is the error from kustomize:
Error: map[string]interface {}(nil): yaml: unmarshal errors:
line 57: mapping key "affinity" already defined at line 38
Hey,
I tested and this issue appears on both 3.32.0 and 3.33.1, which looks like because you have added another nodeAffinity rule for the daemonsets.
The problem is when we set the platform to eks:
Then, it wants to add such block to the daemonset yaml:
However, your recent changes add this to the same block:
So here how the relevant YAML looks:
We can see it happen in those 2 templates:
To replicate it, you need to enable those addons and set the platform to eks in the values.yaml:
Looks like it's because the addition of the "affinity:" in the template itself, though it's also coming from the _helpers.tpl "common.pod.properties" function :
Tried to see if I can fix it in the relevant templates but it's related to the common.pod.properties function which is used a lot across the chart.
The text was updated successfully, but these errors were encountered: