ip/Jenkinsfile-pod-template.yml
Julien Cabillot 2b926f0b3b
Some checks reported errors
Web/ip/pipeline/head Something is wrong with the build of this commit
test
2021-02-12 16:04:45 -05:00

23 lines
451 B
YAML

apiVersion: v1
kind: Pod
metadata:
labels:
jenkins: 'true'
spec:
containers:
- name: jnlp
image: 'jcabillot/docker-inbound-agent-arm64'
- name: docker
image: docker:20.10-dind
securityContext:
privileged: true
#volumeMounts:
#- mountPath: '/var/run/docker.sock'
# name: docker-socket
#volumes:
#- name: docker-socket
# hostPath:
# path: '/var/run/docker.sock'
securityContext:
runAsUser: 0