mirror of
https://github.com/nold360/hive-apps
synced 2024-12-22 13:01:21 +00:00
Fix(nextcloud): SecurityContext
This commit is contained in:
parent
a518a78f7a
commit
6f86317a4b
1 changed files with 16 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue