aboutsummaryrefslogtreecommitdiffstats
path: root/src/k8splugin/mock_files/mock_yamls/job.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/k8splugin/mock_files/mock_yamls/job.yaml')
-rw-r--r--src/k8splugin/mock_files/mock_yamls/job.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/k8splugin/mock_files/mock_yamls/job.yaml b/src/k8splugin/mock_files/mock_yamls/job.yaml
new file mode 100644
index 00000000..e2028f40
--- /dev/null
+++ b/src/k8splugin/mock_files/mock_yamls/job.yaml
@@ -0,0 +1,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"] \ No newline at end of file