mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
Add test dns
This commit is contained in:
+4
-7
@@ -1,14 +1,11 @@
|
|||||||
apiVersion: batch/v1
|
apiVersion: batch/v1
|
||||||
kind: CronJob
|
kind: Job
|
||||||
metadata:
|
metadata:
|
||||||
name: dns-sync
|
name: dns-sync
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/hook: PostSync
|
||||||
|
argocd.argoproj.io/hook-delete-policy: BeforeHookCreation
|
||||||
spec:
|
spec:
|
||||||
schedule: "*/5 * * * *"
|
|
||||||
concurrencyPolicy: Forbid
|
|
||||||
successfulJobsHistoryLimit: 1
|
|
||||||
failedJobsHistoryLimit: 3
|
|
||||||
jobTemplate:
|
|
||||||
spec:
|
|
||||||
backoffLimit: 1
|
backoffLimit: 1
|
||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
@@ -15,3 +15,7 @@ records:
|
|||||||
expire: 86400
|
expire: 86400
|
||||||
type: CNAME
|
type: CNAME
|
||||||
content: "@"
|
content: "@"
|
||||||
|
- name: "test"
|
||||||
|
expire: 86400
|
||||||
|
type: CNAME
|
||||||
|
content: "@"
|
||||||
|
|||||||
Reference in New Issue
Block a user