Browse Source

.

master
Julien Cabillot 2 weeks ago
parent
commit
e9d0a63bc8
1 changed files with 22 additions and 0 deletions
  1. 22
      Jenkinsfile-pod-template.yml

22
Jenkinsfile-pod-template.yml

@ -0,0 +1,22 @@
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
Loading…
Cancel
Save