use host network

This commit is contained in:
2025-07-13 17:39:41 +05:30
parent b1e8626a28
commit 91745ee5e5

View File

@@ -17,6 +17,7 @@ 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
@@ -31,7 +32,7 @@ spec:
- sh - sh
- -c - -c
- | - |
while ! nc -z gitea-int-service 3000; do while ! nc -z gitea.akshun-lab.uk 443; do
echo "Waiting for Gitea to be ready..." echo "Waiting for Gitea to be ready..."
sleep 5 sleep 5
done done