chore(deployment): fix permissions
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Tom Neuber 2025-03-13 18:59:25 +01:00
parent 24d0dd63ab
commit e803aaa7f8
Signed by: tom
GPG key ID: F17EFE4272D89FF6

View file

@ -23,7 +23,7 @@ spec:
spec:
containers:
- image: codeberg.org/forgejo/forgejo:10.0.1
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
env:
- name: USER_UID
value: "1000"
@ -40,6 +40,14 @@ spec:
volumeMounts:
- mountPath: "/data"
name: forgejo-pv-storage
initContainers:
- name: fix-permissions
image: busybox
imagePullPolicy: IfNotPresent
command: ["sh", "-c", "chown -R 1000:1000 /mnt"]
volumeMounts:
- mountPath: "/mnt"
name: forgejo-pv-storage
volumes:
- name: forgejo-pv-storage
persistentVolumeClaim: