feat(external-dns): enable gateway-tlsroute alongside gateway-httproute

The Gateway API source-flag toggle (gatewayAPI=true) already enabled
gateway-httproute discovery. cozystack ships TLSRoute attachments for
SSL-passthrough services (kubernetes control plane API, kubevirt CDI
uploadproxy, kubevirt VM exportproxy) — without gateway-tlsroute in the
external-dns sources list those hostnames are never picked up for DNS
record management.

Adds gateway-tlsroute under the same conditional and updates the value
description / schema / README to reflect that the toggle now covers both
route kinds.

Signed-off-by: Aleksei Sviridkin <f@lex.la>
This commit is contained in:
Aleksei Sviridkin committed 2026-05-25 17:27:14 +03:00
1 parent 7c893bc653
commit 18fd155d2b
4 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@
| `domainFilters` | List of domains this external-dns instance can manage. | `[]string` | `[]` |
| `policy` | How DNS records are synchronized. | `string` | `upsert-only` |
| `extraArgs` | Extra arguments for external-dns. | `[]string` | `[]` |
| `gatewayAPI` | Enable Gateway API HTTPRoute as a source for DNS records. | `bool` | `false` |
| `gatewayAPI` | Enable Gateway API HTTPRoute and TLSRoute as sources for DNS records. | `bool` | `false` |
| `annotationPrefix` | Custom annotation prefix for external-dns (useful for running multiple instances). | `string` | `""` |
@@ -37,6 +37,7 @@ spec:
- service
{{- if .Values.gatewayAPI }}
- gateway-httproute
- gateway-tlsroute
{{- end }}
{{- with .Values.domainFilters }}
domainFilters:
@@ -45,7 +45,7 @@
}
},
"gatewayAPI": {
"description": "Enable Gateway API HTTPRoute as a source for DNS records.",
"description": "Enable Gateway API HTTPRoute and TLSRoute as sources for DNS records.",
"type": "boolean",
"default": false
},
+1 -1
View File
@@ -31,7 +31,7 @@ policy: "upsert-only"
## @param {[]string} extraArgs - Extra arguments for external-dns.
extraArgs: []
## @param {bool} gatewayAPI=false - Enable Gateway API HTTPRoute as a source for DNS records.
## @param {bool} gatewayAPI=false - Enable Gateway API HTTPRoute and TLSRoute as sources for DNS records.
gatewayAPI: false
## @param {string} [annotationPrefix] - Custom annotation prefix for external-dns (useful for running multiple instances).