opf / helm-charts

OPF helm chart repository
https://charts.openproject.org
GNU General Public License v3.0
11 stars 23 forks source link

mount volumes for tmp directories, apply best practice to sc #38

Closed machisuji closed 1 year ago

machisuji commented 1 year ago

At least on minikube both have problems with wrong permissions (world write access without sticky bit) which makes it unusable because Ruby will complain with the following.

irb(main):001:0> Dir.tmpdir
system temporary path is world-writable: /tmp
/tmp is world-writable: /tmp
=> "/app"

Where /app is of course not writable and shouldn't be used to begin with.

I'm looking into the issue and will try to reproduce it on my OpenShift cluster. If it's an issue specific to minikube we may not have a problem.

Edit: it works fine on mz OpenShift cluster. So it might really just be a minikube bug. Will try this on another cluster to confirm, though.

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 5b59709848ea5a27e48df1ab66a1b3a9603a092c

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR