---
apiVersion: batch/v1
kind: Job
metadata:
  generateName: da-mottak-dev-populate-workflows-overforingspakke-table-job-
  namespace: da-mottak-dev
spec:
  template:
    spec:
      containers:
      - name: populate-workflows-overforingspakke-container
        image: 'arkivverket.azurecr.io/da-mottak/populate-workflow-overforingspakke:v1'
        imagePullPolicy: Always
        env:
          - name: NAMESPACE
            value: da-mottak-dev
          - name: ARGO_URL
            value: http://argo-server:2746
          - name: DBSTRING
            valueFrom:
              secretKeyRef:
                name: da-mottak-dev-dsn
                key: da-mottak-dev-secret-dsn
      restartPolicy: Never
