mirror of
https://github.com/wahyd4/passkey-auth.git
synced 2026-08-09 04:15:55 +10:00
- Complete WebAuthn/FIDO2 authentication implementation - SQLite database with user and credential management - Email-based user identification with allowlist support - Admin approval workflow for new users - Session management with secure cookies - Docker containerization with Debian base for SQLite compatibility - Kubernetes deployment manifests with nginx ingress support - Web-based admin interface for user management - Comprehensive documentation and deployment guides - Standard open source project structure with CI/CD
20 lines
513 B
Bash
20 lines
513 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
echo "🧹 Undeploying Passkey Auth from Kubernetes..."
|
|
|
|
# Delete the application
|
|
echo "Deleting application..."
|
|
kubectl delete -f k8s/deployment.yaml --ignore-not-found=true
|
|
|
|
# Delete namespace (this will also delete PVC - data will be lost!)
|
|
read -p "⚠️ This will delete all data. Are you sure? (y/N): " -n 1 -r
|
|
echo
|
|
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
|
kubectl delete -f k8s/namespace.yaml --ignore-not-found=true
|
|
echo "✅ Undeployment complete!"
|
|
else
|
|
echo "❌ Cancelled"
|
|
fi
|