docsbuilding: rename the cronjob cron instead of build.
This will allow to delete the yml file when running the playbook with the delete tag Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
45682d6589
commit
5296b019cb
2 changed files with 2 additions and 2 deletions
|
@ -47,5 +47,5 @@
|
||||||
- role: openshift/object-delete
|
- role: openshift/object-delete
|
||||||
app: docsbuilding
|
app: docsbuilding
|
||||||
objecttype: cronjob
|
objecttype: cronjob
|
||||||
objectname: build
|
objectname: cron
|
||||||
tags: [ never, delete ]
|
tags: [ never, delete ]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: batch/v1beta1
|
apiVersion: batch/v1beta1
|
||||||
kind: CronJob
|
kind: CronJob
|
||||||
metadata:
|
metadata:
|
||||||
name: build
|
name: cron
|
||||||
spec:
|
spec:
|
||||||
concurrencyPolicy: Forbid
|
concurrencyPolicy: Forbid
|
||||||
schedule: "0 * * * *"
|
schedule: "0 * * * *"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue