Open eliorso opened 2 years ago
i fixed the nodeSelector like this, as the main issue is the different scope inside the nodeSelector step
{{ toYaml .Values.resources | indent 10 }}
{{- $hostnetwork := .Values.useHostNetwork }}
{{- with .Values.nodeSelector }}
hostNetwork: {{ $hostnetwork }}
nodeSelector:
The currect daemonset.yaml does support adding of Annotations.
I had to update the file as follow: {{- with .Values.Annotations }} annotations: {{ toYaml . | nindent 8 }} {{- end }}
Another bug that i found when using node selector, the useHostNetwork failed, fixed by : {{ toYaml .Values.resources | indent 10 }} hostNetwork: {{ .Values.useHostNetwork }} {{- with .Values.nodeSelector }} nodeSelector: {{ toYaml . | indent 8 }} {{- end }}