Skip to content

Commit

Permalink
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/hot-scissors-argue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@openproject/helm-charts": patch
---

do not force read-only file system outside dev mode
5 changes: 4 additions & 1 deletion charts/openproject/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -18,7 +18,10 @@ securityContext:
{{-
mergeOverwrite
(omit .Values.containerSecurityContext "enabled" | deepCopy)
(dict "readOnlyRootFilesystem" (not .Values.develop))
(dict "readOnlyRootFilesystem" (and
(not .Values.develop)
(get .Values.containerSecurityContext "readOnlyRootFilesystem")
))
| toYaml
| nindent 2
}}

0 comments on commit 0df7588

Please sign in to comment.