Skip to content

Commit

Permalink
add new option to helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
malpou committed Jan 10, 2025
1 parent ab3dfe6 commit 299d087
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/external-dns/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ spec:
{{- if and (eq .Values.txtPrefix "") (ne .Values.txtSuffix "") }}
- --txt-suffix={{ .Values.txtSuffix }}
{{- end }}
{{- if .Values.txtNewFormatOnly}}
- --txt-new-format-only
{{- end }}
{{- if .Values.namespaced }}
- --namespace={{ .Release.Namespace }}
{{- end }}
Expand Down
5 changes: 5 additions & 0 deletions charts/external-dns/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,11 @@ txtPrefix:
# -- (string) Specify a suffix for the domain names of TXT records created for the `txt` registry.
# Mutually exclusive with `txtPrefix`.
txtSuffix:
# -- (boolean) When true, creates TXT records only in the new format that includes record type information (e.g. "a-" prefix for A records).
# This reduces the number of DNS records created, helping with provider-specific record limits.
# Note: All ExternalDNS instances must support the new format before enabling this option.
# Default: false (maintains backwards compatibility by creating both old and new format records)
txtNewFormatOnly: false

# -- Limit possible target zones by domain suffixes.
domainFilters: []
Expand Down

0 comments on commit 299d087

Please sign in to comment.