Primer commit
This commit is contained in:
16
cronjob.yaml
Normal file
16
cronjob.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: batch/v1
|
||||||
|
kind: CronJob
|
||||||
|
metadata:
|
||||||
|
name: dynu-updater
|
||||||
|
namespace: dynu-updater
|
||||||
|
spec:
|
||||||
|
schedule: "*/5 * * * *"
|
||||||
|
jobTemplate:
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: dynu-updater
|
||||||
|
image: xavor/dynu-ip-client:2.1
|
||||||
|
imagePullPolicy: Always
|
||||||
|
restartPolicy: OnFailure
|
3
kustomization.yaml
Normal file
3
kustomization.yaml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- cronjob.yaml
|
4
namespace.yaml
Normal file
4
namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: dynu-updater
|
Reference in New Issue
Block a user