apiVersion: batch/v1
kind: Job
metadata:
  name: bootstrapper
  namespace: reddog
  labels:
    app: bootstrapper
spec:
  template:
    metadata:
      name: bootstrapper
      labels:
        app: bootstrapper
      annotations:
        dapr.io/enabled: "true"
        dapr.io/app-id: "bootstrapper"
        dapr.io/config: "reddog.config"
    spec:
      containers:
      - name: bootstrapper
        image: "ghcr.io/azure/reddog-retail-demo/reddog-retail-bootstrapper:latest"
        imagePullPolicy: Always
      restartPolicy: OnFailure