From caf51b090983b60482d80d7537048d338fb57312 Mon Sep 17 00:00:00 2001 From: zyc <1439655764@qq.com> Date: Thu, 19 Mar 2026 11:29:52 +0800 Subject: [PATCH] hide cert --- .gitea/workflows/deploy.yaml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index b84d94e..6b499ce 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -78,19 +78,9 @@ jobs: sed -i "s|\${CI_REGISTRY_IMAGE}/video-backend:latest|${{ secrets.SWR_SERVER }}/${{ secrets.SWR_ORG }}/video-backend:latest|g" k8s/backend-deployment.yaml sed -i "s|\${CI_REGISTRY_IMAGE}/video-web:latest|${{ secrets.SWR_SERVER }}/${{ secrets.SWR_ORG }}/video-web:latest|g" k8s/web-deployment.yaml - # Install cert-manager (skip if already installed) - kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.17.1/cert-manager.yaml 2>/dev/null || true - # Wait for all cert-manager components to be ready - kubectl -n cert-manager wait --for=condition=Available deployment/cert-manager --timeout=180s - kubectl -n cert-manager wait --for=condition=Available deployment/cert-manager-cainjector --timeout=180s - kubectl -n cert-manager wait --for=condition=Available deployment/cert-manager-webhook --timeout=180s - # Extra wait for webhook endpoint registration - sleep 15 - - # Apply all manifests + # Apply all manifests (cert-manager & issuer already installed on cluster) set -o pipefail { - kubectl apply -f k8s/cert-manager-issuer.yaml kubectl apply -f k8s/backend-deployment.yaml kubectl apply -f k8s/web-deployment.yaml kubectl apply -f k8s/ingress.yaml