I have added a lot of changes from various ai sessions

This commit is contained in:
Moritz Graf
2026-07-01 11:01:01 +02:00
parent 68345648d9
commit 15e802bebc
37 changed files with 5704 additions and 252 deletions
+11 -6
View File
@@ -121,19 +121,24 @@ Backup tool. See chart [README](https://github.com/vmware-tanzu/helm-charts/blob
```sh
helm repo add vmware-tanzu https://vmware-tanzu.github.io/helm-charts
helm repo update
helm upgrade --install --create-namespace --namespace velero -f ./velero/velero.secret.yaml velero vmware-tanzu/velero --version 5.3.0
kubectl create secret generic rclone-config --from-file=./velero/rclone.secret
kubectl apply -f velero/dropbox_sync.yml
# #
# Apply CRDs first (required on upgrades across major versions)
helm show crds vmware-tanzu/velero --version 12.1.0 | kubectl apply -f -
helm upgrade --install --create-namespace --namespace velero -f ./velero/velero.secret.yaml velero vmware-tanzu/velero --version 12.1.0
# Secrets for rclone (minio + gdrive)
kubectl create secret generic rclone-config --from-file=./velero/rclone.secret -n velero
kubectl create secret generic gdrive-sa-key --from-file=gdrive_sa.json.secret=./velero/gdrive_sa.json.secret -n velero
# Deploy GDrive sync cronjob
kubectl apply -f velero/gdrive_sync.yml
# Teardown
helm delete velero -n velero
kubectl delete ns velero
```
A manual backup may be created executing the following command. **Note: Keep backuped namespaces in sync with config from helm chart!!!**
A manual backup may be created executing the following command. **Note: Keep backed-up namespaces in sync with config from helm chart!!!**
```sh
DATE=$( date +%Y%m%d )
velero backup create $DATE --include-namespaces datalab,development,nextcloud,tt-rss,mailu --wait
velero backup create $DATE --include-namespaces coder,home-assistant,n8n,influxdb --wait
```
## coder