apiVersion: v1
kind: Pod
metadata:
  annotations:
    iam.amazonaws.com/role: infra-kube1-jenkins-pod-slave
spec:
  serviceAccount: jenkins
  containers:
    - name: worker
      image: 556593845588.dkr.ecr.eu-west-1.amazonaws.com/docker-jenkins-alpine-worker:2.0.2
      command:
        - cat
      tty: true
      volumeMounts:
        - mountPath: /var/run/docker.sock
          name: docker-sock
    - name: node
      image: node:12
      command:
        - cat
      tty: true
    - name: redis
      image: redis:6
  volumes:
    - name: docker-sock
      hostPath:
        path: /var/run/docker.sock
