summaryrefslogtreecommitdiffstats
path: root/src/k8splugin/mock_files/mock_yamls/job.yaml
blob: e2028f40341b21868cca4740234c77e835eb144b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
apiVersion: batch/v1
kind: Job
metadata:
  name: job
  labels:
    app: job
  annotations:
    "helm.sh/hook": post-install
    "helm.sh/hook-weight": "-8"
    "helm.sh/hook-delete-policy": hook-succeeded
spec:
  backoffLimit: 3
  template:
    metadata:
      labels:
        app: job
    spec:
      shareProcessNamespace: true
      restartPolicy: Never
      containers:
        - name: sleep-container
          image: "busybox"
          command: ["sleep", "10"]