feat(cloudflareddns): BREAKING CHANGE - Rewrite GUI (#5995)
* fix(cloudflareddns) validate cf hosts and zones * add _secrets.tpl and major gui overhaul * fix _secret.tpl variables * remove variable from zone variable * fix zones variable * fix variable * make some cchanges * update regex * update doc * whoops * fix CF_HOSTS variable * Update charts/stable/cloudflareddns/Chart.yaml Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
@@ -11,23 +11,25 @@ podSecurityContext:
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
|
||||
secretEnv:
|
||||
CF_APITOKEN: ""
|
||||
CF_APIKEY: ""
|
||||
CF_APITOKEN_ZONE: ""
|
||||
|
||||
env:
|
||||
DETECTION_MODE: '{{ ternary .Values.env.DETECT_MODE .Values.env.DETECT_OVERRIDE (eq .Values.env.DETECT_OVERRIDE "") }}'
|
||||
# Use Defined
|
||||
INTERVAL: 300
|
||||
DETECT_MODE: "dig-whoami.cloudflare"
|
||||
DETECT_OVERRIDE: ""
|
||||
LOG_LEVEL: 3
|
||||
cloudflareddns: ""
|
||||
CF_USER: "your.cf.email@example.com"
|
||||
CF_HOSTS: "test.example.com;test.foobar.com;test2.foobar.com"
|
||||
CF_ZONES: "example.com;foobar.com;foobar.com"
|
||||
CF_RECORDTYPES: "A;A;AAAA"
|
||||
cloudflareddns:
|
||||
user: your.cf.email@example.com
|
||||
api_token: ""
|
||||
api_key: ""
|
||||
api_token_zone: ""
|
||||
interval: 300
|
||||
detect_mode: dig-whoami.cloudflare
|
||||
detect_override: ""
|
||||
log_level: 3
|
||||
host_zone_record:
|
||||
- domain: example.com
|
||||
zone: example.com
|
||||
record: A
|
||||
- domain: foobar.com
|
||||
zone: foobar.com
|
||||
record: A
|
||||
- domain: foobar.com
|
||||
zone: foobar.com
|
||||
record: AAAA
|
||||
|
||||
probes:
|
||||
liveness:
|
||||
@@ -37,6 +39,10 @@ probes:
|
||||
startup:
|
||||
enabled: false
|
||||
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: '{{ include "tc.common.names.fullname" . }}-secret'
|
||||
|
||||
service:
|
||||
main:
|
||||
enabled: false
|
||||
@@ -47,7 +53,7 @@ service:
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
mountPath: "/config"
|
||||
mountPath: /config
|
||||
varrun:
|
||||
enabled: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user