Skip to content

Commit d6d9741

Browse files
authored
feat: added policy setting to external-dns values (#1793)
1 parent d0ee298 commit d6d9741

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

helmfile.d/snippets/defaults.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -1312,6 +1312,7 @@ environments:
13121312
dns:
13131313
domainFilters: []
13141314
zoneIdFilters: []
1315+
policy: upsert-only
13151316
ingress:
13161317
platformClass:
13171318
className: platform

values-schema.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -2725,6 +2725,12 @@ properties:
27252725
items:
27262726
type: string
27272727
type: array
2728+
policy:
2729+
description: Modify how DNS records are synchronized between sources and providers.
2730+
type: string
2731+
enum:
2732+
- upsert-only
2733+
- sync
27282734
provider:
27292735
description: The DNS provider managing the domains.
27302736
oneOf:

values/external-dns/external-dns.gotmpl

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ provider: {{ $provider }}
2020
domainFilters: {{ $dns | get "domainFilters" | toYaml | nindent 2 }}
2121
zoneIdFilters: {{ $dns | get "zoneIdFilters" list | toYaml | nindent 2 }}
2222
annotationFilter: "externaldns=true"
23+
policy: {{ $dns.policy }}
2324
logLevel: {{ $externalDns | get "logLevel" }}
2425
dryRun: false
2526
crd:

0 commit comments

Comments
 (0)