summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/templates/statefulset.yaml
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-09-14 20:15:13 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-14 20:15:13 +0000
commit95f819a35f8ca316647b4a8341a589985f3c21d8 (patch)
tree261832ddcb8d66f76694d9ad341c0a69369d4628 /kubernetes/sdnc/templates/statefulset.yaml
parente5c653d6c0a667632a1e1cb0911a703cc834c781 (diff)
parent72b5f0f909e6949e48c35c49661832ca2a17a1da (diff)
Merge "Resource Limits for sdnc Issue-ID: OOM-1162"
Diffstat (limited to 'kubernetes/sdnc/templates/statefulset.yaml')
-rw-r--r--kubernetes/sdnc/templates/statefulset.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/sdnc/templates/statefulset.yaml b/kubernetes/sdnc/templates/statefulset.yaml
index 03ae8800bd..8c52e5c20e 100644
--- a/kubernetes/sdnc/templates/statefulset.yaml
+++ b/kubernetes/sdnc/templates/statefulset.yaml
@@ -128,7 +128,7 @@ spec:
- mountPath: /var/log/onap
name: 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 }}