Skip to content

Commit

Permalink
add resource limit for init-container (#132)
Browse files Browse the repository at this point in the history
* add resource limit for init-container

* Create mighty-rocks-relax.md

---------

Co-authored-by: Oliver Günther <[email protected]>
  • Loading branch information
audacioustux and oliverguenther authored Sep 18, 2024
1 parent 77b514b commit 3ff3f95
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/mighty-rocks-relax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@openproject/helm-charts": patch
---

add resource limit for init-container
2 changes: 2 additions & 0 deletions charts/openproject/templates/web-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,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 3ff3f95

Please sign in to comment.