fix(NONE): Set volumepermissions for psql

This commit is contained in:
黃健毅
2025-01-22 07:28:58 +00:00
parent 64566d6ebe
commit 9cf1f2ca37
+16 -7
View File
@@ -55,13 +55,15 @@ podAnnotations: {}
podLabels: {}
# -- securityContext for the whole pod
podSecurityContext: {}
podSecurityContext:
{}
# runAsUser: 33
# runAsGroup: 33
# fsGroup: 33
# -- securityContext for the pixelfed container
securityContext: {}
securityContext:
{}
# runAsUser: 33
# runAsNonRoot: true
# readOnlyRootFilesystem: true
@@ -98,7 +100,8 @@ ingress:
# - chart-example.local
# -- set resource limits and requests for cpu, memory, and ephemeral storage
resources: {}
resources:
{}
# limits:
# cpu: 100m
# memory: 128Mi
@@ -108,14 +111,16 @@ resources: {}
# -- This is to setup the liveness probe
# more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
livenessProbe: {}
livenessProbe:
{}
# httpGet:
# path: /api/service/health-check
# port: http
# -- This is to setup the readiness probe
# more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
readinessProbe: {}
readinessProbe:
{}
# httpGet:
# path: /api/service/health-check
# port: http
@@ -261,7 +266,6 @@ valkey:
# default: nano
resourcesPreset: "small"
postgresql:
# -- enable the bundled [postgresql sub chart from Bitnami](https://github.com/bitnami/charts/blob/main/bitnami/postgresql/README.md#parameters).
# Must set to true if externalDatabase.enabled=false
@@ -270,10 +274,15 @@ postgresql:
global:
storageClass: ""
## If you get "mkdir: cannot create directory /bitnami/postgresql/data: Permission denied"
## error, set these
volumePermissions:
enabled: true
# -- PHP Configuration files
# Will be injected in /usr/local/etc/php-fpm.d
phpConfigs: {}
phpConfigs:
{}
# www.conf: |-
# [www]
# user = www-data