prole/_import_pi.sh
chrisfu 9b9d6fdc88 Rename Prole storage objects to Synology and sync deployment updates
- Rename iSCSI storage class and PV/PVC selectors/labels from prole to synology across k8s and OpenTofu manifests\n- Update CNPG/OpenBao/Garage/monitoring init flows, render helpers, and mock scripts for synology-backed storage objects\n- Integrate related UI/core/service config/version updates and add supporting regression tests for CNPG storage/image behavior\n- Keep storage reconciliation tests aligned with current CNPG affinity output

Co-authored-by: Junie <junie@jetbrains.com>
2026-03-22 21:50:02 -07:00

10 lines
467 B
Bash

#!/usr/bin/env bash
echo "Importing knoe-db:18-140 to pi.prole.org..."
docker save myrddin.prole.org:5000/knoe-db:18-140 \
| ssh -o StrictHostKeyChecking=no -o BatchMode=yes \
-o ServerAliveInterval=30 -o ServerAliveCountMax=20 \
-i ~/.ssh/id_ed25519_ansible ansible@pi.prole.org \
"sudo k3s ctr images import -" 2>&1 | tail -5
echo "Done importing to pi."
kubectl get jobs,pods -n prole-db -o wide 2>/dev/null | grep -v "Completed\|initdb"