prole/tmp/debug_registry.sh
chrisfu b4fc5641db checkpoint: sanitize prole config for host portability
- fix conf/prod/prole.cfg by replacing hardcoded /Users/chrisfu paths with /Users/chrisfu

- remove injected [update.sh] log lines and stray password artifacts so config is executable

- include latest pending updates across deployment config, UI/core flow, vault/network artifacts, and helper scripts
2026-04-10 05:58:40 -07:00

20 lines
802 B
Bash

#!/usr/bin/env bash
export KUBECONFIG=/Users/chrisfu/dev/prole/prole-k3s.kubeconfig
REG=$(kubectl -n gitea get pod -l app=registry --no-headers -o name | head -1)
echo "==> Registry pod: $REG"
echo "==> Registry previous crash log (full):"
kubectl -n gitea logs "$REG" --previous 2>&1 | grep -v LD_PRELOAD || true
echo "==> Minio bucket list (verify):"
kubectl -n gitea logs minio-init 2>&1 | grep -E "^\[|BUCKET|created|DONE" | head -15
echo "==> Registry secret bucket config:"
kubectl -n gitea get secret gitlab-registry-storage \
-o jsonpath='{.data.config}' 2>/dev/null | base64 -d | head -20 || \
kubectl -n gitea get configmap -l app=registry --no-headers 2>/dev/null | head -5 || true
echo "==> Migrations pod completion status:"
kubectl -n gitea get pods --no-headers | grep migrations