Skip to content

Commit 90060d2

Browse files
committed
Update values.yaml
1 parent 3eec5c1 commit 90060d2

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

my-apps/development/gitea/values.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,11 @@ image:
1717
podSecurityContext:
1818
fsGroup: 1000
1919

20-
# The init container runs chmod on /data/git/.ssh which requires CHOWN/FOWNER
21-
# capabilities. Restored PVCs from backup may have root-owned files.
20+
# The init container runs chmod on /data/git/.ssh which requires root to fix
21+
# ownership on restored PVCs from backup. The rootless image still drops to
22+
# UID 1000 internally for the main gitea process.
2223
containerSecurityContext:
23-
capabilities:
24-
add:
25-
- CHOWN
26-
- FOWNER
24+
runAsUser: 0
2725

2826
gitea:
2927
config:

0 commit comments

Comments
 (0)