fix(forgejo-runner): allow job containers to mount /docker-certs/client so docker login/build/push work

This commit is contained in:
Story Crater Bot
2026-08-21 16:22:19 -07:00
parent d7c30a8af6
commit c46e69fd43
2 changed files with 32 additions and 1 deletions
@@ -56,7 +56,7 @@ spec:
containers:
- name: runner
image: {{ .Values.runner.image.repository }}:{{ .Values.runner.image.tag }}
command: ["sh", "-c", "forgejo-runner daemon"]
command: ["sh", "-c", "forgejo-runner daemon --config /etc/forgejo-runner/config.yaml"]
workingDir: /data
env:
- name: DOCKER_HOST
@@ -73,6 +73,9 @@ spec:
- name: homelab-ca
mountPath: /etc/ssl/certs/homelab-ca.pem
subPath: ca.crt
- name: runner-config
mountPath: /etc/forgejo-runner
readOnly: true
resources:
{{- toYaml .Values.runner.resources | nindent 12 }}
@@ -115,3 +118,6 @@ spec:
# The volumeMounts use subPath: ca.crt to project the single cert file.
configMap:
name: homelab-ca
- name: runner-config
configMap:
name: {{ .Release.Name }}-config