From 990db1bfc06a6ab2608d06f8bf7665da591cf205 Mon Sep 17 00:00:00 2001 From: Andrew Imeson Date: Mon, 2 Oct 2023 15:12:14 +0000 Subject: [PATCH] Fix k8s rootless Docker filesystem permissions (#366) Without this the deployment fails because the runner can't write to /data/ Credit to @ccureau for identifying the fix Relates to: gitea/act_runner#264 Reviewed-on: https://gitea.com/gitea/act_runner/pulls/366 Reviewed-by: techknowlogick Co-authored-by: Andrew Imeson Co-committed-by: Andrew Imeson --- examples/kubernetes/rootless-docker.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/kubernetes/rootless-docker.yaml b/examples/kubernetes/rootless-docker.yaml index 2848e75..e1a67bc 100644 --- a/examples/kubernetes/rootless-docker.yaml +++ b/examples/kubernetes/rootless-docker.yaml @@ -41,6 +41,8 @@ spec: - name: runner-data persistentVolumeClaim: claimName: act-runner-vol + securityContext: + fsGroup: 1000 containers: - name: runner image: gitea/act_runner:nightly-dind-rootless