summaryrefslogtreecommitdiffstats
path: root/charts/aai-sparky-be/templates/deployment.yaml
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
commit47c1de317217ff79610cdbf8572ff4233c3f5f51 (patch)
treed2a5638963e8099234d38d5b3c840729a653c80f /charts/aai-sparky-be/templates/deployment.yaml
parentf434c1e342c6f3e88a81d20bc51d52379fc5a3e0 (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 'charts/aai-sparky-be/templates/deployment.yaml')
-rw-r--r--charts/aai-sparky-be/templates/deployment.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/charts/aai-sparky-be/templates/deployment.yaml b/charts/aai-sparky-be/templates/deployment.yaml
index 48235bc..a6414dd 100644
--- a/charts/aai-sparky-be/templates/deployment.yaml
+++ b/charts/aai-sparky-be/templates/deployment.yaml
@@ -117,7 +117,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 }}