From 331dcef86ad277f96d628595015cd10e0a48f288 Mon Sep 17 00:00:00 2001 From: Tanjim Hossain Date: Tue, 17 Sep 2024 05:12:20 +0600 Subject: [PATCH 1/3] add resources for seederJob --- charts/openproject/templates/seeder-job.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/openproject/templates/seeder-job.yaml b/charts/openproject/templates/seeder-job.yaml index c8f5cd5..e8711f6 100644 --- a/charts/openproject/templates/seeder-job.yaml +++ b/charts/openproject/templates/seeder-job.yaml @@ -67,6 +67,8 @@ spec: {{- include "openproject.envFrom" . | nindent 12 }} env: {{- include "openproject.env" . | nindent 12 }} + resources: + {{- toYaml .Values.seederJob.resources | nindent 12 }} volumeMounts: {{- include "openproject.tmpVolumeMounts" . | indent 12 }} {{- if .Values.persistence.enabled }} From 5c63a8aeaec7077278816d0f8d8cc5a8f82acec0 Mon Sep 17 00:00:00 2001 From: Tanjim Hossain Date: Tue, 17 Sep 2024 05:13:34 +0600 Subject: [PATCH 2/3] add resources for seederJob --- charts/openproject/values.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/charts/openproject/values.yaml b/charts/openproject/values.yaml index 4bcbd1d..fbbe797 100644 --- a/charts/openproject/values.yaml +++ b/charts/openproject/values.yaml @@ -733,6 +733,11 @@ seederJob: ## Define custom seeder job annotations. # annotations: {} + resources: + limits: + memory: "512Mi" + requests: + memory: "512Mi" ## Tolerations for pod assignment. ## From f95714029f9f1cd11e23c0291206c08019c46e8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Tue, 17 Sep 2024 09:29:09 +0200 Subject: [PATCH 3/3] Create grumpy-coins-sort.md --- .changeset/grumpy-coins-sort.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/grumpy-coins-sort.md diff --git a/.changeset/grumpy-coins-sort.md b/.changeset/grumpy-coins-sort.md new file mode 100644 index 0000000..41d709d --- /dev/null +++ b/.changeset/grumpy-coins-sort.md @@ -0,0 +1,5 @@ +--- +"@openproject/helm-charts": minor +--- + +add resource request and limit for seederJob container