summaryrefslogtreecommitdiffstats
path: root/kubernetes/robot/templates/deployment.yaml
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-09-19 14:36:38 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-19 14:36:38 +0000
commit81d7e60ab727696c16258a970249d2dce59ba32c (patch)
tree061fde2149f67e20c40934f11a6f5bb8cb42b9f3 /kubernetes/robot/templates/deployment.yaml
parent8e2d02a927c405c9eb5aa537e6499cdf09916e84 (diff)
parent1aa60a8f44ddec22038291e672e76551dde26d49 (diff)
Merge "Resource Limit enablement in Robot"
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 }}