mirror of
https://github.com/nold360/hive-apps
synced 2024-12-22 04:21:22 +00:00
feat(core): cloudflare ddns
This commit is contained in:
parent
52eae807b5
commit
83881e33d2
1 changed files with 73 additions and 0 deletions
73
projects/core/manifests/cloudflare-ddns.yml
Normal file
73
projects/core/manifests/cloudflare-ddns.yml
Normal file
|
@ -0,0 +1,73 @@
|
|||
apiVersion: batch/v1
|
||||
kind: CronJob
|
||||
metadata:
|
||||
name: cloudflare-ddns-gnu
|
||||
namespace: core
|
||||
spec:
|
||||
schedule: "*/15 * * * *"
|
||||
successfulJobsHistoryLimit: 3
|
||||
failedJobsHistoryLimit: 3
|
||||
jobTemplate:
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: cloudflare-ddns
|
||||
image: mirioeggmann/cloudflare-ddns:v0.5.1
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: cloudflare-ddns-gnu
|
||||
restartPolicy: OnFailure
|
||||
---
|
||||
apiVersion: ricoberger.de/v1alpha1
|
||||
kind: VaultSecret
|
||||
metadata:
|
||||
annotations:
|
||||
name: cloudflare-ddns-gnu
|
||||
namespace: core
|
||||
spec:
|
||||
keys:
|
||||
- API_TOKEN
|
||||
- NAME
|
||||
- RECORD_ID
|
||||
- ZONE_ID
|
||||
- PROXIED
|
||||
path: heqet/core/cloudflare-ddns-gnu
|
||||
type: Opaque
|
||||
---
|
||||
apiVersion: batch/v1
|
||||
kind: CronJob
|
||||
metadata:
|
||||
name: cloudflare-ddns-nold
|
||||
namespace: core
|
||||
spec:
|
||||
schedule: "*/15 * * * *"
|
||||
successfulJobsHistoryLimit: 3
|
||||
failedJobsHistoryLimit: 3
|
||||
jobTemplate:
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: cloudflare-ddns
|
||||
image: mirioeggmann/cloudflare-ddns:v0.5.1
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: cloudflare-ddns-nold
|
||||
restartPolicy: OnFailure
|
||||
---
|
||||
apiVersion: ricoberger.de/v1alpha1
|
||||
kind: VaultSecret
|
||||
metadata:
|
||||
annotations:
|
||||
name: cloudflare-ddns-nold
|
||||
namespace: core
|
||||
spec:
|
||||
keys:
|
||||
- API_TOKEN
|
||||
- NAME
|
||||
- RECORD_ID
|
||||
- ZONE_ID
|
||||
- PROXIED
|
||||
path: heqet/core/cloudflare-ddns-nold
|
||||
type: Opaque
|
Loading…
Reference in a new issue