summaryrefslogtreecommitdiffstats
path: root/kubernetes/appc/templates
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-09-19 14:44:10 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-19 14:44:10 +0000
commit89b45decbae47f7274b5bc1552344d45ea5a5f0f (patch)
tree96205ed70ff8e970a2469a774c11edcaf98c2927 /kubernetes/appc/templates
parent74c1775a7f2cecd9b07c6ce4e9fb3d9e698aa600 (diff)
parent973bfad52ba90a96ce77a3efd2b572d7e5c6f2e0 (diff)
Merge "Add Resource Limits for APP-C"
Diffstat (limited to 'kubernetes/appc/templates')
-rw-r--r--kubernetes/appc/templates/statefulset.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/appc/templates/statefulset.yaml b/kubernetes/appc/templates/statefulset.yaml
index 32ff95241b..9453bd9677 100644
--- a/kubernetes/appc/templates/statefulset.yaml
+++ b/kubernetes/appc/templates/statefulset.yaml
@@ -145,8 +145,8 @@ spec:
name: log-config
subPath: org.ops4j.pax.logging.cfg
resources:
-{{ toYaml .Values.resources | indent 12 }}
- {{- if .Values.nodeSelector }}
+{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+ {{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 10 }}
{{- end -}}