summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/templates
diff options
context:
space:
mode:
authorrajeshkalai <rajesh.kalaiselvan@amdocs.com>2018-09-18 16:55:39 -0400
committerrajeshkalai <rajesh.kalaiselvan@amdocs.com>2018-09-18 16:56:26 -0400
commit0e89201bb34d95d41ec4aac6ace92e7228728b73 (patch)
tree0533f835b4ac3b77fa1f7efd591cd4766a9623e3 /kubernetes/aai/templates
parent9eb454b360f35d750c3c7528c2149dc00be45fa7 (diff)
Add resource limit for aai
Issue-ID: OOM-1147 Change-Id: I1c052b277a8372c188297a53183ea0ded74161bf Signed-off-by: rajeshkalai <rajesh.kalaiselvan@amdocs.com>
Diffstat (limited to 'kubernetes/aai/templates')
-rw-r--r--kubernetes/aai/templates/deployment.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/aai/templates/deployment.yaml b/kubernetes/aai/templates/deployment.yaml
index dc65cef187..17ba83b8d7 100644
--- a/kubernetes/aai/templates/deployment.yaml
+++ b/kubernetes/aai/templates/deployment.yaml
@@ -80,7 +80,7 @@ spec:
initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 10 }}