Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pvc helm charts for storage, update all s3 secret keys to be cons…
…istent, document backup/restores (#695) * add nextcloud PVCs helm chart * update nextcloud to use the pvc helm chart we just made * fix pvc enabled variable * change name of persistence app for nextcloud * set schedules sooner for test * switch to cronjob helm chart to use appset for setting schedules; update postgres and s3 pvc schedules to use secret vars * make matrix use PVC helm chart instead of PVCs directly * add configurable matrix schedule for backups * update matrix and nextcloud pvc appsets to point at feature branch * try settting creation policy to owner for external secret for backups * use feature branch for external secrets * update both files and config pvcs to always be enabled for now * fix nextcloud s3 pvc to point at feature branch and make master volume for swfs smaller * clean up serverInfoToken for nextcloud external secrets and add readme * update helm external secret server info token parameter * fix nextcloud server info token rendered external secret * fix maintenance mode schedule values * fix nextcloud cronjob helm chart appset * fix more maintenance types * add tip about potential zitadel failure with nextcloud * set maintanence mode for nextcloud to be 23:00 till 03:00AM * add default k8up dashboard for all of smol-k8s-lab default supported apps * update default k8up dashboard to have more default charts for at least nextcloud * make sure we only backup annotated PVCs for scheduled backups * remove create policy for s3 backup * add creation policy owner back to s3 backups for nextcloud * add nexcloud namespace * update the s3 backup credentials to be more consistent with what's expected * update postgres credentials naming scheme * fix nextcloud s3 credentials namign scheme * fix k8up backup secret for s3 provider helm chart * base64 encode the true value for the k8up secret * add configurable storageclass name * use global pvc storage class for nextcloud pvcs * shrink data pvc by default * add pvc enabled secret vars for nextcloud * take string values instead of booleans for enabled * switch to beta channel before installing certain apps * always enable oidc login * temporarily still point at feature branch for nextcloud s3 provider * make k8up operator use BACKUP_SKIP_WITHOUT_ANNOTATION=true env var, so ensure we don't backup ephemeral volumes * Update k8up_argocd_appset.yaml - use k8up.skipWithoutAnnotation * start attempts to backup nextcloud to local then remote 123 backup style * try new cors solution for webdav stuff as per nextcloud/helm#410 (comment) * try suggest for forwarding real ip with nextcloud suggest is here nextcloud/helm#410 (comment) * disable cors in a test and also remove robots.txt * convert s3 pvc appset in mastodon to use a valuesObject * switching back to normal pvc backup annotation * try dav with comma seperated allowed methods * disable cors again * try overriding the default nginx.conf with realip settings suggested in nextcloud/helm#410 * turn on cors again * try moving the real ip settings into the server block * try moving the real ip settings further down the server block * try to add real ip settings inside of location / * solve duplicate location "/" in /etc/nginx/conf.d/zz-custom.conf:142 * give up on nextcloud and try preserving real ip with https://stackoverflow.com/questions/66787939/preserving-source-ip-in-nginx-ingress-controller * try the solution from https://stackoverflow.com/a/68347429 for preserving source ip * disable cors again for nextcloud * try real ip cidr for nextcloud * that's all the gas left in the tank for nextcloud ingress testing 🤷 * add default phone region for nextcloud * add home assistant persistence and backups * fix getting home assistant pvc capacity * fix branch for pvc in home assistant * make sure we have s3 backup credentials ahead of time for home assistant * udpate external secrets for home assistant to use feature branch * annotate home assistant pvc for k8up backups * ignore restic env * fix typo for pvc scheduled backups and add some info on checking restic for home assistant backups and restores * remove user 82 for backup for home assistant * update ignore for restic env and add basic readme for backups and restore for home assistant * do consistant external secrets naming * more renaming of xternal_secrets_appset.yaml to external_secrets_argocd_appset.yaml everywhere * comment out the resources * update backups-s3-credentials secret to be s3-backups-credentials; change resticRepoPass to resticRepoPassword for matrix * use feature branch for external secrets for matrix * fix secretAccessKey and accessKeyID for matrix secrets * switch zitadel external secrets to use add-pvc-helm-chart-for-nextcloud feature branch * update mastodon s3 backup credentials * update zitadel secret from backups-s3-credentials to s3-backups-credentials * add more info about sample restore job * turn on generic device plugin again * k8up.io/backup: true added to all matrix pvcs * fix pvc enabled variables for matrix * fix access credentials for s3 backups * update zitadel s3 pvc to point at the right feature branch * switch to calling it s3-postgres-credentials instead of postgres-s3-credentials for nextcloud and matrix * add WAL compression and encryption * add WAL compression and encryption * add WAL compression and encryption * update matrix backups * do specify wal for matrix backups * allow max parellel for wal to be 8 * remove compression and adjust max parallel to 4 * removing tenant appsets b/c those live in thier own app dirs for instance nextcloud's tenant chart, now called cluster, is here: nextcloud/app_of_apps/postgres_argocd_appset.yaml * clean whitespace * only retain two days worth of postgres backups, so that you can just restore from seaweedfs if needed for matrix * updated max parallel to be 8 * update matrix to use the new default credentials for postgres and new schedule template values * add correct backup schedule for home assistant * update zitadel to use the new default credentials for postgres and new schedule template values * update nextcloud to use the new default credentials for postgres and new schedule template values * update mastodon to use the new default credentials for postgres and new schedule template values * use feature branch for matrix * clean up backup crendentials accessKeyID vs accessKeyId * update to always point at latest nextcloud 29 image * verify php occ is available before proceeding * update post install job to have an init container that checks for occ first * try once more to make nextcloud init prcoess work for installing apps * prettier logs for nextcloud install apps job * fix accessKeyId casing for nextcloud s3 pvc backups * rename zitadel external secrets appset to have the word external secrets * fix naming everywhere * update wal archive settings * fix s3 backup credentials access key id typo * switching back to main for all branches that were previously pointed at the feature branches --------- Co-authored-by: Max! <admin@cloudydev.net>
- Loading branch information