From a0298ddbc13eceaab87660b07fbd0247e07114a8 Mon Sep 17 00:00:00 2001 From: Edmund Fung Date: Fri, 12 Jul 2019 22:41:44 -0700 Subject: [PATCH] Bug fix for helm template (#20) Helm template Deployment has `resources` place at `Deployment.spec.template.spec.resources` where if should be at `Deployment.spec.template.spec.containers[0].resources` instead --- chart/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index 24080f4..e0b04f0 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -43,7 +43,7 @@ spec: key: {{ $name | quote }} {{- end }} {{- end }} - resources: + resources: {{ toYaml .Values.resources | indent 12 }} {{- with .Values.nodeSelector }} nodeSelector: