From fd102a013986835a2d67ceed1b191f8c1224afc6 Mon Sep 17 00:00:00 2001 From: aggarwalakshun Date: Sun, 20 Apr 2025 10:05:15 +0530 Subject: [PATCH] permission fixes --- cluster/apps/gitea/gitea-act.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cluster/apps/gitea/gitea-act.yml b/cluster/apps/gitea/gitea-act.yml index 4737281..f8f2cb8 100644 --- a/cluster/apps/gitea/gitea-act.yml +++ b/cluster/apps/gitea/gitea-act.yml @@ -18,6 +18,8 @@ spec: spec: securityContext: fsGroup: 1000 + runAsUser: 1000 + runAsGroup: 1000 initContainers: - name: wait-for-gitea image: busybox @@ -34,6 +36,8 @@ spec: image: gitea/act_runner:0.2.11-dind-rootless securityContext: privileged: true + runAsUser: 1000 + runAsGroup: 1000 env: - name: GITEA_INSTANCE_URL value: "http://gitea-int-service:3000/"