use internal gitea url

This commit is contained in:
2025-06-12 08:06:38 +05:30
parent adb26aa622
commit 4052cfd26b

View File

@@ -18,8 +18,6 @@ spec:
app: gitea-act-runner app: gitea-act-runner
spec: spec:
restartPolicy: Always restartPolicy: Always
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
volumes: volumes:
- name: docker-certs - name: docker-certs
emptyDir: {} emptyDir: {}
@@ -33,7 +31,7 @@ spec:
- sh - sh
- -c - -c
- | - |
while ! nc -z gitea.akshun-lab.uk 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
@@ -50,7 +48,7 @@ spec:
- name: DOCKER_TLS_VERIFY - name: DOCKER_TLS_VERIFY
value: "1" value: "1"
- name: GITEA_INSTANCE_URL - name: GITEA_INSTANCE_URL
value: https://gitea.akshun-lab.uk value: https://gitea-int-service:3000
- name: GITEA_RUNNER_REGISTRATION_TOKEN - name: GITEA_RUNNER_REGISTRATION_TOKEN
valueFrom: valueFrom:
secretKeyRef: secretKeyRef: