fix: add PVC for runner state to persist registration across restarts

This commit is contained in:
Ryan Moon
2026-04-02 19:57:07 -05:00
parent 07dbdb5f39
commit a938a3dcea
2 changed files with 17 additions and 0 deletions

View File

@@ -42,6 +42,8 @@ spec:
volumeMounts:
- name: runner-config
mountPath: /etc/runner
- name: runner-data
mountPath: /data
- name: dind
image: docker:dind
@@ -63,3 +65,6 @@ spec:
- name: runner-config
configMap:
name: gitea-runner-config
- name: runner-data
persistentVolumeClaim:
claimName: gitea-runner-data