---
apiVersion: batch/v1
kind: Job
spec:
  template:
    spec:
      restartPolicy: Never
      containers:
        - args:
            - --v
            - "5"
            - --message-server
            - "kafka:9092"
            - --msg-file
            - "/testdata/messages.json"
            - --delay
            - "60"
            - --iterations
            - "3"
          image: docker.io/sbezverk/gobmp-player:0.0.0
          imagePullPolicy: Always
          name: gobmp-player
          volumeMounts:
          - mountPath: /testdata/messages.json
            name: messages
            subPath: churn.json
      volumes:
      - name: messages
        hostPath:
          path: /home/sbezverk/jalapeno/gobmp
metadata:
  name: gobmp-player
  namespace: default
