Let iuclabs-dind pull images from artifactapi (#614)
Jobs on iuclabs-dind need images from artifactapi docker-internal as git.unkin.net goes away, but the runner's egress blocks traefik-internal and its dind daemon does not trust the internal CA. - allow iuclabs-dind egress to traefik-internal on 443 - mount the vault CA into the dind daemon's certs.d for artifactapi Reviewed-on: #614 Co-authored-by: unkin-agent <unkin-agent@unkin.net> Co-committed-by: unkin-agent <unkin-agent@unkin.net>
This commit was merged in pull request #614.
This commit is contained in:
@@ -43,3 +43,14 @@ spec:
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 8200
|
||||
# artifactapi via traefik-internal; kube-proxy DNATs its LB IP to these pods
|
||||
- to:
|
||||
- namespaceSelector:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: traefik-system
|
||||
podSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: traefik-internal-traefik-system
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 443
|
||||
|
||||
@@ -101,6 +101,10 @@ spec:
|
||||
mountPath: /home/runner/externals
|
||||
- name: dind-storage
|
||||
mountPath: /var/lib/docker
|
||||
- name: vault-ca-cert
|
||||
mountPath: /etc/docker/certs.d/artifactapi.k8s.syd1.au.unkin.net/ca.crt
|
||||
subPath: ca.crt
|
||||
readOnly: true
|
||||
containers:
|
||||
- name: runner
|
||||
image: ghcr.io/actions/actions-runner:2.338.2
|
||||
|
||||
Reference in New Issue
Block a user