aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/oof/charts/oof-has/charts/oof-has-api/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/charts/oof-has/charts/oof-has-api/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/charts/oof-has/charts/oof-has-api/templates')
-rwxr-xr-xkubernetes/oof/charts/oof-has/charts/oof-has-api/templates/deployment.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/oof/charts/oof-has/charts/oof-has-api/templates/deployment.yaml b/kubernetes/oof/charts/oof-has/charts/oof-has-api/templates/deployment.yaml
index 95b6783e72..690bb74973 100755
--- a/kubernetes/oof/charts/oof-has/charts/oof-has-api/templates/deployment.yaml
+++ b/kubernetes/oof/charts/oof-has/charts/oof-has-api/templates/deployment.yaml
@@ -85,7 +85,7 @@ spec:
name: {{ .Values.global.commonConfigPrefix }}-config
subPath: log.conf
resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 10 }}