aboutsummaryrefslogtreecommitdiffstats
path: root/templates
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
commitea44b8e86b2c8b7a1f8445c84282b9396abc287e (patch)
tree6b41788b2c05f72e32c80fba6e465acc79074f19 /templates
parent3a7551d63b16310a2cba23698d26e22f09bd73ad (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 'templates')
-rw-r--r--templates/deployment.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/deployment.yaml b/templates/deployment.yaml
index cebc7f5..319ef59 100644
--- a/templates/deployment.yaml
+++ b/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 }}