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:
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user