Why do we need these defaultConfigs?
All these defaultConfigs are already included in nextcloud docker image, right? https://github.com/nextcloud/docker/tree/master/.config
And some configs in this repo is not up-to-date. e.g. redis.config.php in this repo does not handle redis password.
In my mind, we should remove all these defaultConfigs from this repo, and just use the configs packed in the docker image.
A few changes have been pushed to update redis password settings. Would you be interested in submitting a PR reflect the defaults?
We need the default configs because we currently overwrite the config dir with other *config.php files, in addition to the default configs, which would overwrite the configs. For instance, we support adding additional config files. We could maybe use a projected volume to solve this, but for now, I've opened #464 which will take care of getting all the configs up to date.
Info on projected volumes, but not sure if this would actually work: https://kubernetes.io/docs/concepts/storage/projected-volumes/
If this issue gets closed if/when #464 is merged, please feel free to test if projected volumes work, and if they do, we'd gladly review a PR for that :)