chore(woodpecker): add init container to correct data permission
All checks were successful
ci/woodpecker/push/yamllint Pipeline was successful
All checks were successful
ci/woodpecker/push/yamllint Pipeline was successful
This commit is contained in:
parent
12ccc99ec4
commit
404778639d
1 changed files with 7 additions and 0 deletions
|
@ -18,6 +18,13 @@ server:
|
||||||
- hosts:
|
- hosts:
|
||||||
- woodpecker.ar21.de
|
- woodpecker.ar21.de
|
||||||
secretName: woodpecker-tls-key
|
secretName: woodpecker-tls-key
|
||||||
|
initContainers:
|
||||||
|
- name: fix-permissions
|
||||||
|
image: busybox
|
||||||
|
command: ["sh", "-c", "chown -R 1000:1000 /mnt"]
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /mnt
|
||||||
|
name: data
|
||||||
statefulSet:
|
statefulSet:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue