summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-gizmo/templates
diff options
context:
space:
mode:
authorrajeshkalai <rajesh.kalaiselvan@amdocs.com>2018-09-20 06:36:28 -0400
committerMandeep Khinda <mandeep.khinda@amdocs.com>2018-09-21 02:52:33 +0000
commit9fcfbce60a052328f92af96be44f9d92cbe8d251 (patch)
treec71d3504f703c61047bf9626102bfe6d1169e2a4 /kubernetes/aai/charts/aai-gizmo/templates
parent37cae2542ba41720da3179f5955401fc0ed66184 (diff)
Fix: aai resource limits- charts except cassandra
Issue-ID: OOM-1147 Change-Id: I438d404b0717b5179857d3226590b28c0372848d Signed-off-by: rajeshkalai <rajesh.kalaiselvan@amdocs.com> Fix: request -resource limits for aai Issue-ID: OOM-1147 Change-Id: I5898e2c6c6b4c6cc1c302c287b15f5697bf2e36b Signed-off-by: rajeshkalai <rajesh.kalaiselvan@amdocs.com>
Diffstat (limited to 'kubernetes/aai/charts/aai-gizmo/templates')
-rw-r--r--kubernetes/aai/charts/aai-gizmo/templates/deployment.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/aai/charts/aai-gizmo/templates/deployment.yaml b/kubernetes/aai/charts/aai-gizmo/templates/deployment.yaml
index 0fb8552c37..d36ae2f874 100644
--- a/kubernetes/aai/charts/aai-gizmo/templates/deployment.yaml
+++ b/kubernetes/aai/charts/aai-gizmo/templates/deployment.yaml
@@ -89,7 +89,7 @@ spec:
name: {{ include "common.fullname" . }}-logback-config
subPath: logback.xml
resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 10 }}