From 77599e0d9390d124afb07223475c7d071a4f7d0f Mon Sep 17 00:00:00 2001 From: ajoux Date: Wed, 27 Jan 2021 11:24:09 +0100 Subject: [PATCH] fix hostNetwork misplaced --- spot-termination-exporter/templates/daemonset.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}