Closed mhazan01 closed 1 month ago
In order to reproduce the issue, could you please share only the values/parameters that were modified?
sure here you go, but it's mostly hostname, ingress and persistence related ingress:
enabled: true
ingressClassName: "traefik"
hostname: wordpress- annotations:
kubernetes.io/ingress.class: "traefik"
cert-manager.io/cluster-issuer: "letsencrypt-dev"
host
extraPaths: []
extraTls:
persistence:
enabled: true
storageClass: "csi-cinder-delete"
accessModes:
ReadWriteMany
accessMode: ReadWriteMany
volumePermissions:
enabled: true
mariadb:
primary:
persistence:
enabled: true
storageClass: "csi-cinder-delete"
accessMode: ReadWriteMany
accessModes:
- ReadWriteMany
size: 8Gi
one workaround is changing the fsgrouppolicy to : File on the CSI driver, for my openstack csi backed rke2 it looks like this :
apiVersion: storage.k8s.io/v1 kind: CSIDriver metadata: name: cinder.csi.openstack.org spec: fsGroupPolicy: File
it looks like it let the mariadb pod run it's business, but i have to figure out what else might have broken from that xD
Name and Version
latest
What architecture are you using?
None
What steps will reproduce the bug?
helm install wordpress-01 oci://registry-1.docker.io/bitnamicharts/wordpress -f local-values.yaml -n wordpress-01 --create-namespace
Are you using any custom parameters or values?
What is the expected behavior?
deploy wordpress with mariadb and persistent volume
What do you see instead?
Additional information
it works without persistent volumes i've seen many replies by carrodher that point to the how and why use non-root in bitnami chart, but it doesn't provide any hint on how to fix the issue.