update gitea-act deployment to use internal service for readiness check

This commit is contained in:
2025-10-12 00:11:03 +05:30
parent ba5f105e2d
commit a7002f6f50

View File

@@ -18,7 +18,6 @@ spec:
labels: labels:
app: gitea-act-runner app: gitea-act-runner
spec: spec:
hostNetwork: true
restartPolicy: Always restartPolicy: Always
volumes: volumes:
- name: docker-certs - name: docker-certs
@@ -33,7 +32,7 @@ spec:
- sh - sh
- -c - -c
- | - |
while ! nc -z gitea.akshun-lab.cc 443; do while ! nc -z gitea-int-service 3000; do
echo "Waiting for Gitea to be ready..." echo "Waiting for Gitea to be ready..."
sleep 5 sleep 5
done done