mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-02-02 23:39:03 +00:00
[cryptpad] add default podSecurityContext (#1340)
* cryptpad: add default podSecurityContext As per72dd7030c1/Dockerfile-nginx (L25)
, the docker image for Cryptpad will spawn the cryptpad process with a non-root user:72dd7030c1/supervisord.conf (L26)
Such unprivileged user will not be able to write in persistence volumes, which are mounted as root. To work around this, we set the fsGroup in accordance with what supervisord already does inside the image. * cryptpad: bump chart version
This commit is contained in:
parent
1385ad29fb
commit
837a89dbd5
@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: v4.12.0-nginx
|
||||
description: cryptpad helm package
|
||||
name: cryptpad
|
||||
version: 0.1.0
|
||||
version: 0.1.1
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- cryptpad
|
||||
|
@ -76,3 +76,6 @@ persistence:
|
||||
mountPath: /cryptpad/data
|
||||
- path: datastore
|
||||
mountPath: /cryptpad/datastore
|
||||
|
||||
podSecurityContext:
|
||||
fsGroup: 4001 # https://github.com/xwiki-labs/cryptpad-docker/blob/72dd7030c1dc1c70b5ff3f53b8451f5af19a2927/Dockerfile-nginx#L25
|
||||
|
Loading…
Reference in New Issue
Block a user