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
|
||||
app: docsbuilding
|
||||
objecttype: cronjob
|
||||
objectname: build
|
||||
objectname: cron
|
||||
tags: [ never, delete ]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
apiVersion: batch/v1beta1
|
||||
kind: CronJob
|
||||
metadata:
|
||||
name: build
|
||||
name: cron
|
||||
spec:
|
||||
concurrencyPolicy: Forbid
|
||||
schedule: "0 * * * *"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue