---
# Source: cert-manager/templates/startupapicheck-job.yaml
apiVersion: batch/v1
kind: Job
metadata:
  name: cert-083-cert-manager-startupapicheck
  namespace: "cert-manager"
  labels:
    app: startupapicheck
    app.kubernetes.io/name: startupapicheck
    app.kubernetes.io/instance: cert-083
    app.kubernetes.io/component: "startupapicheck"
    app.kubernetes.io/version: "v1.5.3"
    app.kubernetes.io/managed-by: Helm
    helm.sh/chart: cert-manager-v1.5.3
  annotations:
    helm.sh/hook: post-install
    helm.sh/hook-delete-policy: hook-succeeded
    helm.sh/hook-weight: "1"
spec:
  backoffLimit: 4
  template:
    metadata:
      labels:
        app: startupapicheck
        app.kubernetes.io/name: startupapicheck
        app.kubernetes.io/instance: cert-083
        app.kubernetes.io/component: "startupapicheck"
        app.kubernetes.io/version: "v1.5.3"
        app.kubernetes.io/managed-by: Helm
        helm.sh/chart: cert-manager-v1.5.3
    spec:
      restartPolicy: OnFailure
      serviceAccountName: cert-083-cert-manager-startupapicheck
      securityContext:
        runAsNonRoot: true
      containers:
        - name: cert-manager
          image: "quay.io/jetstack/cert-manager-ctl:v1.5.3"
          imagePullPolicy: IfNotPresent
          args:
          - check
          - api
          - --wait=1m
          resources:
            {}
