feat: add adminer and vaultwarden apps, integrated from k8s-manifests
This commit is contained in:
14
apps/adminer/deploy.sh
Executable file
14
apps/adminer/deploy.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
BASE_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
MANIFESTS="$BASE_DIR/manifests"
|
||||
|
||||
echo "🚀 部署 Adminer..."
|
||||
|
||||
kubectl apply -f "$MANIFESTS/"
|
||||
|
||||
echo "⏳ 等待 Pod 就緒..."
|
||||
kubectl rollout status deployment/adminer --timeout=120s
|
||||
|
||||
echo "✅ Adminer 部署完成"
|
||||
Reference in New Issue
Block a user