testing
This commit is contained in:
parent
9448633a29
commit
cba046cf66
|
|
@ -4,18 +4,15 @@ pipeline {
|
|||
yaml '''
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: my-pod
|
||||
spec:
|
||||
containers:
|
||||
|
||||
- name: kubectl
|
||||
image: bitnami/kubectl:latest
|
||||
command:
|
||||
- cat
|
||||
tty: true
|
||||
volumes:
|
||||
- name: docker-sock
|
||||
hostPath:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
- name: docker
|
||||
image: docker:latest
|
||||
|
|
@ -25,6 +22,12 @@ spec:
|
|||
volumeMounts:
|
||||
- name: docker-sock
|
||||
mountPath: /var/run/docker.sock
|
||||
|
||||
volumes:
|
||||
- name: docker-sock
|
||||
hostPath:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue