From 867ef2762062ca0e37d4fb32d1662bfb0412a08d Mon Sep 17 00:00:00 2001 From: Maxime Guyot Date: Wed, 27 Jun 2018 17:28:21 +0200 Subject: [PATCH] Add resources for unicorn dependencies initContainer --- charts/gitlab/charts/unicorn/templates/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/gitlab/charts/unicorn/templates/deployment.yaml b/charts/gitlab/charts/unicorn/templates/deployment.yaml index 1d15f9dc78..f36a9f54f1 100644 --- a/charts/gitlab/charts/unicorn/templates/deployment.yaml +++ b/charts/gitlab/charts/unicorn/templates/deployment.yaml @@ -62,6 +62,8 @@ spec: - name: dependencies image: "{{ .Values.image.repository }}:{{ coalesce .Values.image.tag (include "gitlab.versionTag" . ) }}" {{ template "gitlab.imagePullPolicy" . }} + resources: +{{ toYaml .Values.resources | indent 12 }} args: - /scripts/wait-for-deps env: -- GitLab