Skip to content

Commit

Permalink
add resource limit for init-container - for worker-deployment (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
audacioustux authored Sep 23, 2024
1 parent ff39032 commit 0fa8a05
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/five-olives-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@openproject/helm-charts": minor
---

add resource limit for init-container - for worker-deployment
2 changes: 2 additions & 0 deletions charts/openproject/templates/worker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 0fa8a05

Please sign in to comment.