#!/usr/bin/env bash
set -euo pipefail

echo "🛑 停止 Vaultwarden（保留資料）..."

kubectl delete deployment/vaultwarden --ignore-not-found
kubectl delete service/vaultwarden-service --ignore-not-found
kubectl delete ingress/vaultwarden-ingress --ignore-not-found

echo "✅ Vaultwarden 已停止，PVC 資料保留"
