From: Sylvain Desbureaux Date: Fri, 23 Nov 2018 14:41:38 +0000 (+0100) Subject: resources are always set X-Git-Tag: 3.0.0-ONAP~8^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F27%2F73427%2F1;hp=a7b2ee30e615a8567d953b644bc37ec07759fcdf;p=oom.git resources are always set and not only if node selector is set. Issue-ID: APPC-1248 Change-Id: I37daa91f0fd0985595248610d21642fe74986a8f Signed-off-by: Sylvain Desbureaux --- 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 -}}