aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-graphadmin/templates/deployment.yaml
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-09-21 03:53:40 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-21 03:53:40 +0000
commit885cc2df865888d8f68b218e8fe30f40d62b4fde (patch)
tree94fde87ba926e56a0aa6ce04107a2d54ce37aa1c /kubernetes/aai/charts/aai-graphadmin/templates/deployment.yaml
parent90bf254e13bd4af58edb2d6ef305a18955d66f8c (diff)
parent9fcfbce60a052328f92af96be44f9d92cbe8d251 (diff)
Merge "Fix: aai resource limits- charts except cassandra"
Diffstat (limited to 'kubernetes/aai/charts/aai-graphadmin/templates/deployment.yaml')
-rw-r--r--kubernetes/aai/charts/aai-graphadmin/templates/deployment.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/aai/charts/aai-graphadmin/templates/deployment.yaml b/kubernetes/aai/charts/aai-graphadmin/templates/deployment.yaml
index 9b0ec6383e..69aeb326e2 100644
--- a/kubernetes/aai/charts/aai-graphadmin/templates/deployment.yaml
+++ b/kubernetes/aai/charts/aai-graphadmin/templates/deployment.yaml
@@ -123,7 +123,7 @@ spec:
initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
resources:
-{{ toYaml .Values.resources | indent 10 }}
+{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}