testing if dependson works on jobs
This commit is contained in:
parent
8227012d38
commit
21d2ad58d8
|
|
@ -3,6 +3,8 @@ kind: Job
|
||||||
metadata:
|
metadata:
|
||||||
name: postgres-init
|
name: postgres-init
|
||||||
spec:
|
spec:
|
||||||
|
dependsOn:
|
||||||
|
- name: infrastructure
|
||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
restartPolicy: OnFailure
|
restartPolicy: OnFailure
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,3 @@ kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- job.yaml
|
- job.yaml
|
||||||
|
|
||||||
spec:
|
|
||||||
dependsOn:
|
|
||||||
- name: infrastructure
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue