summaryrefslogtreecommitdiffstats
path: root/kubernetes/oof/templates
diff options
context:
space:
mode:
authorPrateekinlinux <prateek.khosla@amdocs.com>2018-09-20 12:07:08 +0000
committervaibhav_16dec <vaibhav.chopra@amdocs.com>2018-09-21 02:36:43 +0000
commitb84ba5e268d886b6e0185be2df61654cab2cf9f8 (patch)
tree8494e5f619184addc7a53d0574c3311265827750 /kubernetes/oof/templates
parent6127806a519501fcfd6446a5670f817d0dd77b9e (diff)
Resource Limits for oof
Issue-ID: OOM-1157 Change-Id: I2f2733834f71f4edeb87f55cfd8461be10fd8cb9 Signed-off-by: Prateekinlinux <prateek.khosla@amdocs.com>
Diffstat (limited to 'kubernetes/oof/templates')
-rw-r--r--kubernetes/oof/templates/deployment.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/oof/templates/deployment.yaml b/kubernetes/oof/templates/deployment.yaml
index da7cb70009..3341505847 100644
--- a/kubernetes/oof/templates/deployment.yaml
+++ b/kubernetes/oof/templates/deployment.yaml
@@ -77,7 +77,7 @@ spec:
name: {{ include "common.fullname" . }}-config
subPath: osdf_config.yaml
resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 10 }}