# Check that some data was generated properly
apiVersion: batch/v1
kind: Job
metadata:
  name: find-service
spec:
  template:
    metadata:
      annotations:
        sidecar.istio.io/inject: "false"
    spec:
      containers:
        - name: asserts-container
          image: local/asserts:e2e
          command: ["./query"]
          env:
            - name: SERVICE_NAME
              value: "order"
            - name: QUERY_HOST
              value: "simplest-query:16686"
      restartPolicy: OnFailure
  backoffLimit: 10
