apiVersion: v1
kind: ConfigMap
metadata:
  name: worker-template
  namespace: katib
data:
  defaultWorkerTemplate.yaml : |-
    apiVersion: batch/v1
    kind: Job
    metadata:
      name: {{.WorkerId}}
      namespace: katib
    spec:
      template:
        spec:
          containers:
          - name: {{.WorkerId}}
            image: alpine
          restartPolicy: Never
