towerops/watch_totp_enrollment.sh
2026-01-28 17:37:54 -06:00

10 lines
352 B
Bash
Executable file

#!/bin/bash
# Watch for TOTP enrollment in real-time
echo "=== Watching for TOTP Enrollment Activity ==="
echo "Visit https://towerops.net/users/settings/totp-enrollment and scan the QR code"
echo ""
echo "Monitoring production logs for TOTP activity..."
echo ""
kubectl logs -n towerops deployment/towerops -f --tail=0 | grep --line-buffered "TOTP"