summaryrefslogtreecommitdiffstats
path: root/kubernetes/robot/templates/deployment.yaml
diff options
context:
space:
mode:
authorvaibhav_16dec <vaibhav.chopra@amdocs.com>2018-09-19 02:36:17 +0000
committervaibhav_16dec <vaibhav.chopra@amdocs.com>2018-09-19 02:41:22 +0000
commit1aa60a8f44ddec22038291e672e76551dde26d49 (patch)
treedb5d21d486c19ba27d7b15bfd26c769bd83fb51a /kubernetes/robot/templates/deployment.yaml
parentc196546bae5346d162b3fb20de96d9df8fe260ca (diff)
Resource Limit enablement in Robot
Issue-ID: OOM-1160 Change-Id: I3e76e18c968ebbb8d5e472419346a32d579eb199 Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
Diffstat (limited to 'kubernetes/robot/templates/deployment.yaml')
-rw-r--r--kubernetes/robot/templates/deployment.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/robot/templates/deployment.yaml b/kubernetes/robot/templates/deployment.yaml
index cebc7f5898..319ef59386 100644
--- a/kubernetes/robot/templates/deployment.yaml
+++ b/kubernetes/robot/templates/deployment.yaml
@@ -57,7 +57,7 @@ spec:
- name: robot-logs
mountPath: /share/logs
resources:
-{{ toYaml .Values.resources | indent 12 }}
+{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 10 }}