25 lines
516 B
YAML
25 lines
516 B
YAML
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
name: dyndns-python
|
|
---
|
|
apiVersion: batch/v1
|
|
kind: CronJob
|
|
metadata:
|
|
name: dyndns-pythonrenew
|
|
namespace: dyndns-python
|
|
spec:
|
|
schedule: "0 * * * *"
|
|
jobTemplate:
|
|
spec:
|
|
ttlSecondsAfterFinished: 100
|
|
backoffLimit: 4
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: dyndns-python
|
|
image: gitea.tryton.geeraert.eu/pi-ux-ce/dyndns_python:latest
|
|
imagePullPolicy: IfNotPresent
|
|
restartPolicy: OnFailure
|
|
|