fix: disable TLS for internal DIND to resolve cert issues
This commit is contained in:
parent
2a1ecbdb35
commit
ba92960a47
|
|
@ -18,9 +18,7 @@ data:
|
||||||
- "ubuntu-24.04:docker://docker.gitea.com/runner-images:ubuntu-24.04"
|
- "ubuntu-24.04:docker://docker.gitea.com/runner-images:ubuntu-24.04"
|
||||||
- "ubuntu-22.04:docker://docker.gitea.com/runner-images:ubuntu-22.04"
|
- "ubuntu-22.04:docker://docker.gitea.com/runner-images:ubuntu-22.04"
|
||||||
envs:
|
envs:
|
||||||
DOCKER_HOST: "tcp://localhost:2376"
|
DOCKER_HOST: "tcp://localhost:2375"
|
||||||
DOCKER_CERT_PATH: "/certs/client"
|
|
||||||
DOCKER_TLS_VERIFY: "1"
|
|
||||||
cache:
|
cache:
|
||||||
enabled: true
|
enabled: true
|
||||||
dir: ""
|
dir: ""
|
||||||
|
|
@ -29,8 +27,7 @@ data:
|
||||||
container:
|
container:
|
||||||
privileged: true
|
privileged: true
|
||||||
network: host
|
network: host
|
||||||
docker_host: "tcp://localhost:2376"
|
docker_host: "tcp://localhost:2375"
|
||||||
force_pull: true
|
force_pull: true
|
||||||
options: "-v /certs/client:/certs/client"
|
|
||||||
valid_volumes:
|
valid_volumes:
|
||||||
- "/certs/client"
|
- "/certs/client"
|
||||||
|
|
|
||||||
|
|
@ -30,21 +30,12 @@ spec:
|
||||||
- name: CONFIG_FILE
|
- name: CONFIG_FILE
|
||||||
value: /config.yaml
|
value: /config.yaml
|
||||||
- name: DOCKER_HOST
|
- name: DOCKER_HOST
|
||||||
value: tcp://localhost:2376
|
value: tcp://localhost:2375
|
||||||
- name: DOCKER_TLS_CERTDIR
|
|
||||||
value: /certs/client
|
|
||||||
- name: DOCKER_CERT_PATH
|
|
||||||
value: /certs/client
|
|
||||||
- name: DOCKER_TLS_VERIFY
|
|
||||||
value: "1"
|
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: runner-data
|
- name: runner-data
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
- name: docker-certs
|
|
||||||
mountPath: /certs/client
|
|
||||||
readOnly: true
|
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /config.yaml
|
mountPath: /config.yaml
|
||||||
subPath: config.yaml
|
subPath: config.yaml
|
||||||
|
|
@ -54,16 +45,9 @@ spec:
|
||||||
privileged: true
|
privileged: true
|
||||||
env:
|
env:
|
||||||
- name: DOCKER_TLS_CERTDIR
|
- name: DOCKER_TLS_CERTDIR
|
||||||
value: /certs/client
|
value: ""
|
||||||
- name: DOCKER_DRIVER
|
- name: DOCKER_DRIVER
|
||||||
value: overlay2
|
value: overlay2
|
||||||
volumeMounts:
|
|
||||||
- name: runner-data
|
|
||||||
mountPath: /data
|
|
||||||
- name: docker-graph-storage
|
|
||||||
mountPath: /var/lib/docker
|
|
||||||
- name: docker-certs
|
|
||||||
mountPath: /certs/client
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: runner-data
|
- name: runner-data
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue