resources are always set 27/73427/1
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 23 Nov 2018 14:41:38 +0000 (15:41 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 23 Nov 2018 14:42:16 +0000 (15:42 +0100)
and not only if node selector is set.

Issue-ID: APPC-1248
Change-Id: I37daa91f0fd0985595248610d21642fe74986a8f
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
kubernetes/appc/charts/appc-ansible-server/templates/deployment.yaml

index ca8498b..a7daa05 100644 (file)
@@ -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 -}}