templates: fix default node selector logic
After the release candidate 1 was noticed that when the defaultNodeSelector was empty and no nodeSelector was given for individual components the chart could not render. To fix this an if has been added avobe expressions to check that at least one of them is defined.