This PR makes node.nodeSelector usable again by moving the hardcoded nodeSelector of daemonset-linux.yaml to the node.nodeSelector function.
Issue
If node.nodeSelector is currently set, the produced templated yaml contains 2 nodeSelector entries, resulting in errors during apply.
After using helm template and applying the result, we got this following error:
Error: map[string]interface {}(nil): yaml: unmarshal errors:
line 64: mapping key "nodeSelector" already defined at line 44
error: no objects passed to apply
Description
This PR makes node.nodeSelector usable again by moving the hardcoded nodeSelector of daemonset-linux.yaml to the node.nodeSelector function.
Issue
If
node.nodeSelector
is currently set, the produced templated yaml contains 2 nodeSelector entries, resulting in errors during apply.After using helm template and applying the result, we got this following error: