fix(forgejo-runner): add fsGroup 1000 so runner user can write /data/.runner — register hit permission denied on root-owned Longhorn PVC

This commit is contained in:
Story Crater Bot
2026-08-18 15:08:02 -07:00
parent 7e345625fa
commit 6cbd887b89
@@ -17,6 +17,10 @@ spec:
labels: labels:
app: {{ .Release.Name }} app: {{ .Release.Name }}
spec: spec:
# runner image runs as UID 1000; fsGroup makes the Longhorn /data PVC
# group-writable so `register` can write /data/.runner (else permission denied).
securityContext:
fsGroup: 1000
tolerations: tolerations:
{{- toYaml .Values.tolerations | nindent 8 }} {{- toYaml .Values.tolerations | nindent 8 }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}