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:
Clement Verna 2020-03-04 09:18:11 +01:00 committed by Pierre-Yves Chibon
parent 45682d6589
commit 5296b019cb
2 changed files with 2 additions and 2 deletions

View file

@ -47,5 +47,5 @@
- role: openshift/object-delete
app: docsbuilding
objecttype: cronjob
objectname: build
objectname: cron
tags: [ never, delete ]

View file

@ -1,7 +1,7 @@
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: build
name: cron
spec:
concurrencyPolicy: Forbid
schedule: "0 * * * *"