gitea-runner: create configmap for custom config, enable host networking within dind

This commit is contained in:
2026-02-08 12:33:48 -05:00
parent 68026b743c
commit f0ac9bbd6d
2 changed files with 47 additions and 0 deletions

View File

@@ -26,6 +26,8 @@ spec:
image: gitea/act_runner:nightly
imagePullPolicy: Always
env:
- name: CONFIG_FILE
value: /config/config.yaml
- name: DOCKER_HOST
value: tcp://localhost:2376
- name: DOCKER_CERT_PATH
@@ -42,6 +44,8 @@ spec:
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- name: runner-config
mountPath: /config
- name: docker-certs
mountPath: /certs
- name: runner-data
@@ -65,6 +69,9 @@ spec:
terminationGracePeriodSeconds: 30
volumes:
- name: docker-certs
- name: runner-config
configMap:
name: runner-config
volumeClaimTemplates:
- metadata:
name: runner-data