From 45bb713df79994d0a6ba2f4de97e7d9e234416d4 Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Fri, 23 Nov 2018 15:41:38 +0100 Subject: resources are always set and not only if node selector is set. Issue-ID: APPC-1248 Change-Id: I37daa91f0fd0985595248610d21642fe74986a8f Signed-off-by: Sylvain Desbureaux --- kubernetes/appc/charts/appc-ansible-server/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kubernetes/appc/charts/appc-ansible-server/templates/deployment.yaml') diff --git a/kubernetes/appc/charts/appc-ansible-server/templates/deployment.yaml b/kubernetes/appc/charts/appc-ansible-server/templates/deployment.yaml index ca8498b8aa..a7daa05143 100644 --- a/kubernetes/appc/charts/appc-ansible-server/templates/deployment.yaml +++ b/kubernetes/appc/charts/appc-ansible-server/templates/deployment.yaml @@ -75,8 +75,8 @@ spec: name: config subPath: RestServer_config resources: - {{- if .Values.nodeSelector }} {{ include "common.resources" . | indent 12 }} + {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 10 }} {{- end -}} -- cgit 1.2.3-korg