Skip to content

Commit 299d087

Browse files
committed
add new option to helm chart
1 parent ab3dfe6 commit 299d087

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

charts/external-dns/templates/deployment.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ spec:
106106
{{- if and (eq .Values.txtPrefix "") (ne .Values.txtSuffix "") }}
107107
- --txt-suffix={{ .Values.txtSuffix }}
108108
{{- end }}
109+
{{- if .Values.txtNewFormatOnly}}
110+
- --txt-new-format-only
111+
{{- end }}
109112
{{- if .Values.namespaced }}
110113
- --namespace={{ .Release.Namespace }}
111114
{{- end }}

charts/external-dns/values.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,11 @@ txtPrefix:
222222
# -- (string) Specify a suffix for the domain names of TXT records created for the `txt` registry.
223223
# Mutually exclusive with `txtPrefix`.
224224
txtSuffix:
225+
# -- (boolean) When true, creates TXT records only in the new format that includes record type information (e.g. "a-" prefix for A records).
226+
# This reduces the number of DNS records created, helping with provider-specific record limits.
227+
# Note: All ExternalDNS instances must support the new format before enabling this option.
228+
# Default: false (maintains backwards compatibility by creating both old and new format records)
229+
txtNewFormatOnly: false
225230

226231
# -- Limit possible target zones by domain suffixes.
227232
domainFilters: []

0 commit comments

Comments
 (0)