mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
Add app label to pod metadata in job.spec.template.labels Fix issue where hooks could bypass a project whitelist/blacklist (issue #794) Fix issue where deletion of hooks did not perform a cascaded deletion (issue #797)
14 lines
250 B
YAML
14 lines
250 B
YAML
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: pi
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: pi
|
|
image: perl
|
|
command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
|
|
restartPolicy: Never
|
|
backoffLimit: 4
|