Fix(nextcloud): SecurityContext

This commit is contained in:
nold 2022-09-02 19:30:24 +02:00
parent a518a78f7a
commit 6f86317a4b

View file

@ -36,6 +36,14 @@ nextcloud:
runAsGroup: "33"
runAsNonRoot: true
readOnlyRootFilesystem: true
extraVolumes:
- name: nginx-cache
emptyDir: {}
extraVolumeMounts:
- mountPath: /var/cache/nginx
name: nginx-cache
phpConfigs:
memory_limit.conf: |
php_admin_value[memory_limit] = 512M
@ -47,6 +55,14 @@ nextcloud:
pm.max_spare_servers = 24
pm.max_requests = 1000
# See: https://github.com/nextcloud/helm/issues/186
securityContext:
runAsUser: 101
runAsGroup: 101
fsGroup: 101
fsGroupChangePolicy: "OnRootMismatch"
runAsNonRoot: true
ingress:
enabled: true
labels: