We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3eec5c1 commit 90060d2Copy full SHA for 90060d2
1 file changed
my-apps/development/gitea/values.yaml
@@ -17,13 +17,11 @@ image:
17
podSecurityContext:
18
fsGroup: 1000
19
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.
+# The init container runs chmod on /data/git/.ssh which requires root to fix
+# ownership on restored PVCs from backup. The rootless image still drops to
22
+# UID 1000 internally for the main gitea process.
23
containerSecurityContext:
- capabilities:
24
- add:
25
- - CHOWN
26
- - FOWNER
+ runAsUser: 0
27
28
gitea:
29
config:
0 commit comments