Update: seems like the persistence section is sufficient; I have
persistence:
enabled: true
existingClaim: nextcloud-config-claim
at the end of my values file which references a volume claim (and volume) that I created manually upfront. The importand file is config.php. Back that thing up immediately and three times, print it if you have to. The secret in there is unrecoverable otherwise and needed for any repair actions.
I also use the postgresql sub-chart (by simply enabling postgresql as database) and provide a claim there:
postgresql:
enabled: true
global:
postgresql:
auth:
username: XX
password: YY
database: nextcloud
image:
repository: postgres
tag: "14"
postgresqlDataDir: /bitnami/pgdata
primary:
persistence:
enabled: true
existingClaim: nextcloud-db-claim
Hope it helps!
Second this. Did it a few weeks ago, works perfectly fine. Paid 50€ for a four year old Acer Chromebook 11 and followed the matching guide here: https://mrchromebox.tech/#devices
(Don’t buy my model, the keyboard is crap)