update immich

This commit is contained in:
Grant Hunter
2026-09-07 00:09:12 -06:00
parent e4e205e2de
commit f1411e3857
5 changed files with 13 additions and 7 deletions
+6
View File
@@ -23,6 +23,12 @@ cleanupjobs:
pgrestart:
kubectl patch postgrescluster/postgres --type merge --patch '{"spec":{"metadata":{"annotations":{"restarted":"'"$(date)"'"}}}}'
pgdump db_name:
#!/bin/bash
pod_name=$(kubectl get pod -lpostgres-operator.crunchydata.com/role=master -o=name | sed "s/^.\{4\}//")
kubectl exec -it $pod_name database -- \
pg_dump -U postgres -d {{db_name}} --file=/tmp/pgdump --format=c --quote-all-identifiers --verbose
kubectl cp $pod_name:/tmp/pgdump ./{{db_name}}_pgdump
talos-upgrade VERSION NODE:
talosctl upgrade \