chore(woodpecker): add init container to correct data permission
All checks were successful
ci/woodpecker/push/yamllint Pipeline was successful

This commit is contained in:
Tom Neuber 2025-01-14 20:42:31 +01:00
parent 12ccc99ec4
commit 404778639d
Signed by: tom
GPG key ID: F17EFE4272D89FF6

View file

@ -18,6 +18,13 @@ server:
- hosts:
- woodpecker.ar21.de
secretName: woodpecker-tls-key
initContainers:
- name: fix-permissions
image: busybox
command: ["sh", "-c", "chown -R 1000:1000 /mnt"]
volumeMounts:
- mountPath: /mnt
name: data
statefulSet:
replicaCount: 1
env: