feat: add Gitea NFS PV, declarative deployment, and wire into runmefirst.sh

This commit is contained in:
Celes Renata
2026-04-28 14:29:58 +00:00
parent 226d799eb2
commit 24db0e97f6
3 changed files with 96 additions and 0 deletions
+11
View File
@@ -53,12 +53,23 @@ echo ""
# -------------------------------------------------------
echo "--- Step 3: Applying NFS PersistentVolumes ---"
kubectl apply -f pvs/argocd-pv.yaml
kubectl apply -f pvs/gitea-pv.yaml
kubectl apply -f pvs/kargo-pv.yaml
kubectl apply -f pvs/woodpecker-pv.yaml
kubectl apply -f pvs/harbor-pv.yaml
echo " ✓ PVs applied"
echo ""
# -------------------------------------------------------
# 3a. Apply Gitea deployment (NFS-backed)
# -------------------------------------------------------
echo "--- Step 3a: Applying Gitea deployment ---"
kubectl create namespace git-server --dry-run=client -o yaml | kubectl apply -f -
kubectl apply -f gitea/deployment.yaml
kubectl rollout status deployment/gitea -n git-server --timeout=60s
echo " ✓ Gitea deployed with NFS storage"
echo ""
# -------------------------------------------------------
# 3b. Install Harbor container registry
# -------------------------------------------------------