File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
kubernetes/infra/manifests/gitlab-runner Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ gitlab-runner:
2626 image = "alpine:3.19"
2727 pull_policy = ["if-not-present"]
2828
29+ # IMPORTANTE: Necessario per overlay storage driver
30+ privileged = true
31+
2932 # Risorse per il container principale del job
3033 cpu_limit = "2"
3134 cpu_request = "500m"
@@ -42,13 +45,7 @@ gitlab-runner:
4245 poll_interval = 3
4346 poll_timeout = 180
4447
45- # Configurazione per buildah/podman (rootless)
46- # Non serve privileged=true come con Docker
47- [runners.kubernetes.pod_security_context]
48- run_as_non_root = false
49- # Buildah stable image gira come root di default, ma in modo sicuro
50-
51- # Volume per storage temporaneo buildah
48+ # Volume per storage temporaneo buildah/podman
5249 [[runners.kubernetes.volumes.empty_dir]]
5350 name = "buildah-storage"
5451 mount_path = "/var/lib/containers"
You can’t perform that action at this time.
0 commit comments