The Nextcloud Helm chart includes a way to deploy a MariaDB instance by setting the chart values like this:
mariadb:
## Whether to deploy a mariadb server to satisfy the applications database requirements. To use an external database set this to false and configure the externalDatabase parameters
enabled: true
db:
name: nextcloud
user: nextcloud
password: p@55w0rd
Is there a way to specify these credentials from a Kubernetes Secret similar to what is available for the Nextcloud server admin credentials in the nextcloud
section (example below)?
nextcloud:
## Use an existing secret
existingSecret:
enabled: true
secretName: nextcloud-account-admin
usernameKey: username
passwordKey: password