diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2018-11-23 15:41:38 +0100 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2018-11-23 15:42:16 +0100 |
commit | 45bb713df79994d0a6ba2f4de97e7d9e234416d4 (patch) | |
tree | c1bbb5363eda685633e964698cfe866aa0e03125 /kubernetes/appc/charts/appc-ansible-server | |
parent | a7b2ee30e615a8567d953b644bc37ec07759fcdf (diff) |
resources are always set
and not only if node selector is set.
Issue-ID: APPC-1248
Change-Id: I37daa91f0fd0985595248610d21642fe74986a8f
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Diffstat (limited to 'kubernetes/appc/charts/appc-ansible-server')
-rw-r--r-- | kubernetes/appc/charts/appc-ansible-server/templates/deployment.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
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 -}} |