diff --git a/spot-termination-exporter/templates/daemonset.yaml b/spot-termination-exporter/templates/daemonset.yaml index 9f8ef293..9433a315 100644 --- a/spot-termination-exporter/templates/daemonset.yaml +++ b/spot-termination-exporter/templates/daemonset.yaml @@ -62,10 +62,10 @@ spec: resources: {{ toYaml .Values.resources | indent 10 }} {{- with .Values.nodeSelector }} - hostNetwork: {{ .Values.useHostNetwork }} nodeSelector: {{ toYaml . | indent 8 }} {{- end }} + hostNetwork: {{ .Values.useHostNetwork }} {{- with .Values.affinity }} affinity: {{ toYaml . | indent 8 }}