Fix BuildKit rootless: allow privilege escalation for newuidmap/newgidmap
This commit is contained in:
@@ -38,6 +38,7 @@ spec:
|
|||||||
type: Unconfined # BuildKit rootless requires this
|
type: Unconfined # BuildKit rootless requires this
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
runAsGroup: 1000
|
runAsGroup: 1000
|
||||||
|
allowPrivilegeEscalation: true # required for newuidmap/newgidmap setuid binaries
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
exec:
|
exec:
|
||||||
command: ["buildctl", "debug", "workers"]
|
command: ["buildctl", "debug", "workers"]
|
||||||
|
|||||||
Reference in New Issue
Block a user