summaryrefslogtreecommitdiffstats
path: root/kubernetes/appc/charts/appc-ansible-server/templates/deployment.yaml
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-09-19 14:44:10 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-19 14:44:10 +0000
commit89b45decbae47f7274b5bc1552344d45ea5a5f0f (patch)
tree96205ed70ff8e970a2469a774c11edcaf98c2927 /kubernetes/appc/charts/appc-ansible-server/templates/deployment.yaml
parent74c1775a7f2cecd9b07c6ce4e9fb3d9e698aa600 (diff)
parent973bfad52ba90a96ce77a3efd2b572d7e5c6f2e0 (diff)
Merge "Add Resource Limits for APP-C"
Diffstat (limited to 'kubernetes/appc/charts/appc-ansible-server/templates/deployment.yaml')
-rw-r--r--kubernetes/appc/charts/appc-ansible-server/templates/deployment.yaml2
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 8fb2776566..b7ef21f023 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:
-{{ toYaml .Values.resources | indent 12 }}
{{- if .Values.nodeSelector }}
+{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 10 }}
{{- end -}}