Files
dancefetcher/k8s/deploy.yaml
T

17 lines
404 B
YAML
Raw Normal View History

2020-02-07 20:59:25 +01:00
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: dancefetcher
spec:
schedule: '0 0 * * *'
concurrencyPolicy: Forbid
jobTemplate:
spec:
template:
spec:
containers:
- name: dancefetcher
imagePullPolicy: Always
image: registry.gitlab.com/unboundsoftware/dancefinder/dancefetcher:${COMMIT}
restartPolicy: OnFailure