diff --git a/.changeset/five-olives-check.md b/.changeset/five-olives-check.md new file mode 100644 index 0000000..2162290 --- /dev/null +++ b/.changeset/five-olives-check.md @@ -0,0 +1,5 @@ +--- +"@openproject/helm-charts": minor +--- + +add resource limit for init-container - for worker-deployment diff --git a/charts/openproject/templates/worker-deployment.yaml b/charts/openproject/templates/worker-deployment.yaml index eef3c07..33c6142 100644 --- a/charts/openproject/templates/worker-deployment.yaml +++ b/charts/openproject/templates/worker-deployment.yaml @@ -67,6 +67,8 @@ spec: command: - bash - /app/docker/prod/wait-for-db + resources: + {{- toYaml .Values.initdb.resources | nindent 12 }} containers: - name: "openproject" {{- include "openproject.containerSecurityContext" . | indent 10 }}