gitea: make namespace privileged for actions runners
This commit is contained in:
1 parent
8abd2add2e
commit
b393049241
1 file changed
+7
@@ -2,3 +2,10 @@ apiVersion: v1
|
|||||||
kind: Namespace
|
kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
name: gitea
|
name: gitea
|
||||||
|
labels:
|
||||||
|
# The Gitea Actions runner uses a privileged Docker-in-Docker sidecar,
|
||||||
|
# which PodSecurity "baseline" forbids
|
||||||
|
pod-security.kubernetes.io/enforce: privileged
|
||||||
|
pod-security.kubernetes.io/enforce-version: latest
|
||||||
|
pod-security.kubernetes.io/audit: privileged
|
||||||
|
pod-security.kubernetes.io/warn: privileged
|
||||||
Reference in new issue
Block a user