Files
jenkins-shared-libs/resources/podTemplate2.yaml
Dustin C. Hatch a2248404cf podTemplate2: Pin to Buildah v1.37 for now
Buildah 1.38 and 1.39 have a bug that prevents them being able to build
containers in a Kubernetes pod.  Whenever I try, I get:

> error stat()ing intended root directory
> "/var/tmp/buildah3537271510/mnt/rootfs": no such file or directory

I have not identified the root cause yet, but reverting to 1.37 works
around the issue for now.
2025-05-05 09:17:14 -05:00

22 lines
381 B
YAML

spec:
containers:
- name: buildah
image: quay.io/containers/buildah:v1.37
command:
- cat
stdin: true
tty: true
securityContext:
capabilities:
add:
- SYS_ADMIN
- MKNOD
- SYS_CHROOT
- SETFCAP
resources:
limits:
github.com/fuse: 1
hostUsers: false
tolerations:
- key: du5t1n.me/jenkins