From 973bfad52ba90a96ce77a3efd2b572d7e5c6f2e0 Mon Sep 17 00:00:00 2001 From: GregSulek Date: Wed, 19 Sep 2018 06:48:37 -0400 Subject: Add Resource Limits for APP-C flavor names removed from global Issue-ID: OOM-1148 Change-Id: Ib8ccb694786d15be2830c067d5c3b10fc7054f0b Signed-off-by: GregSulek --- kubernetes/appc/charts/appc-cdt/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kubernetes/appc/charts/appc-cdt/templates') diff --git a/kubernetes/appc/charts/appc-cdt/templates/deployment.yaml b/kubernetes/appc/charts/appc-cdt/templates/deployment.yaml index 9c83c2c882..1288183c7f 100644 --- a/kubernetes/appc/charts/appc-cdt/templates/deployment.yaml +++ b/kubernetes/appc/charts/appc-cdt/templates/deployment.yaml @@ -65,7 +65,7 @@ spec: name: localtime readOnly: true resources: -{{ toYaml .Values.resources | indent 12 }} +{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }} {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 10 }} -- cgit 1.2.3-korg