summaryrefslogtreecommitdiffstats
path: root/kubernetes/uui/templates/deployment.yaml
diff options
context:
space:
mode:
authorGregSulek <gsulek@amdocs.com>2018-09-18 19:39:03 -0400
committerGregSulek <gsulek@amdocs.com>2018-09-18 19:43:05 -0400
commita4ce0b257ff7c3fc422c191414a99caa85430f79 (patch)
tree7204c1d02e2191bb9c6220f43de0ee520eb4c59e /kubernetes/uui/templates/deployment.yaml
parentc196546bae5346d162b3fb20de96d9df8fe260ca (diff)
Add Resource Limits for uui
flavor name removed from global Issue-ID: OOM-1165 Change-Id: I8da4cf5de40182567edaa44544bab074d34accf9 Signed-off-by: GregSulek <gsulek@amdocs.com>
Diffstat (limited to 'kubernetes/uui/templates/deployment.yaml')
-rw-r--r--kubernetes/uui/templates/deployment.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/uui/templates/deployment.yaml b/kubernetes/uui/templates/deployment.yaml
index 9578d9c5d8..5d564cf902 100644
--- a/kubernetes/uui/templates/deployment.yaml
+++ b/kubernetes/uui/templates/deployment.yaml
@@ -58,7 +58,7 @@ spec:
- name: MSB_ADDR
value: {{ tpl .Values.msbaddr . }}
resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 10 }}