From 78c765b15b9244cf06edf12bf3bc388b10610c09 Mon Sep 17 00:00:00 2001 From: Kristof Imre Szabo Date: Fri, 25 Feb 2022 13:39:58 +0100 Subject: [PATCH] chore: resources definition for initContainer --- ci/helm-chart/templates/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/helm-chart/templates/deployment.yaml b/ci/helm-chart/templates/deployment.yaml index f137a9d2a..b8762e06e 100644 --- a/ci/helm-chart/templates/deployment.yaml +++ b/ci/helm-chart/templates/deployment.yaml @@ -44,6 +44,10 @@ spec: volumeMounts: - name: data mountPath: /home/coder + {{- if .Values.initResources }} + resources: + {{- toYaml .Values.initResources | nindent 10 }} + {{- end }} {{- if .Values.extraInitContainers }} {{ tpl .Values.extraInitContainers . | indent 6}} {{- end }}