feat: Cloudflare | set up DDNS container
This commit is contained in:
@@ -5,8 +5,7 @@ metadata:
|
|||||||
name: cloudflare-domains-config
|
name: cloudflare-domains-config
|
||||||
namespace: cloudflare-system
|
namespace: cloudflare-system
|
||||||
data:
|
data:
|
||||||
DOMAINS: "postgres.dogar.dev,git.dogar.dev,memcached.dogar.dev,grafana.dogar.dev"
|
DOMAINS: "git.dogar.dev,auth.dogar.dev,grafana.dogar.dev"
|
||||||
PROXIED: "false"
|
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
@@ -27,7 +26,7 @@ spec:
|
|||||||
- name: cloudflare-ddns
|
- name: cloudflare-ddns
|
||||||
image: favonia/cloudflare-ddns:latest
|
image: favonia/cloudflare-ddns:latest
|
||||||
env:
|
env:
|
||||||
- name: CF_API_TOKEN
|
- name: CLOUDFLARE_API_TOKEN
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: cloudflare-token
|
name: cloudflare-token
|
||||||
@@ -37,8 +36,7 @@ spec:
|
|||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
name: cloudflare-domains-config
|
name: cloudflare-domains-config
|
||||||
key: DOMAINS
|
key: DOMAINS
|
||||||
- name: PROXIED
|
- name: UPDATE_TIMEOUT
|
||||||
valueFrom:
|
value: "30s"
|
||||||
configMapKeyRef:
|
- name: IP6_PROVIDER
|
||||||
name: cloudflare-domains-config
|
value: "none"
|
||||||
key: PROXIED
|
|
||||||
|
|||||||
Reference in New Issue
Block a user