summaryrefslogtreecommitdiffstats
path: root/kubernetes/vid/templates
diff options
context:
space:
mode:
authorvaibhavjayas <vaibhav.jayas@amdocs.com>2018-09-19 09:33:41 +0000
committervaibhavjayas <vaibhav.jayas@amdocs.com>2018-09-19 09:35:26 +0000
commitafb925dceb213156e2cd7909815cef3332b041ed (patch)
treeb64be5c9aa647a4364aeedb86c7985c375f122d7 /kubernetes/vid/templates
parentc196546bae5346d162b3fb20de96d9df8fe260ca (diff)
Resource Limit for VID
Issue-ID: OOM-1167 Change-Id: Ib598b25bbf8fbda5b0fb41e3dfaf13dd7a31bd6c Signed-off-by: vaibhavjayas <vaibhav.jayas@amdocs.com>
Diffstat (limited to 'kubernetes/vid/templates')
-rw-r--r--kubernetes/vid/templates/deployment.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/vid/templates/deployment.yaml b/kubernetes/vid/templates/deployment.yaml
index 5cd4f38331..9b9ee8d81f 100644
--- a/kubernetes/vid/templates/deployment.yaml
+++ b/kubernetes/vid/templates/deployment.yaml
@@ -118,7 +118,7 @@ spec:
name: vid-logback
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 }}