My .yaml looks like this:
apiVersion: batch/v1 kind: Job metadata: name: foo namespace: bar spec: template: spec: imagePullSecrets: -