fix: runner container network=host for k8s DNS resolution
Job containers use bridge network by default, so they can't resolve gitea.git.svc.cluster.local. host network inherits k3s host routing which can reach cluster service IPs directly.
This commit is contained in:
@@ -35,7 +35,7 @@ spec:
|
||||
envs: {}
|
||||
timeout: 3h
|
||||
container:
|
||||
network: bridge
|
||||
network: host
|
||||
docker_host: "unix:///var/run/docker.sock"
|
||||
force_pull: false
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user