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` | `[]` | | `domainFilters` | List of domains this external-dns instance can manage. | `[]string` | `[]` |
| `policy` | How DNS records are synchronized. | `string` | `upsert-only` | | `policy` | How DNS records are synchronized. | `string` | `upsert-only` |
| `extraArgs` | Extra arguments for external-dns. | `[]string` | `[]` | | `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` | `""` | | `annotationPrefix` | Custom annotation prefix for external-dns (useful for running multiple instances). | `string` | `""` |
@@ -37,6 +37,7 @@ spec:
- service - service
{{- if .Values.gatewayAPI }} {{- if .Values.gatewayAPI }}
- gateway-httproute - gateway-httproute
- gateway-tlsroute
{{- end }} {{- end }}
{{- with .Values.domainFilters }} {{- with .Values.domainFilters }}
domainFilters: domainFilters:
@@ -45,7 +45,7 @@
} }
}, },
"gatewayAPI": { "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", "type": "boolean",
"default": false "default": false
}, },
+1 -1
View File
@@ -31,7 +31,7 @@ policy: "upsert-only"
## @param {[]string} extraArgs - Extra arguments for external-dns. ## @param {[]string} extraArgs - Extra arguments for external-dns.
extraArgs: [] 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 gatewayAPI: false
## @param {string} [annotationPrefix] - Custom annotation prefix for external-dns (useful for running multiple instances). ## @param {string} [annotationPrefix] - Custom annotation prefix for external-dns (useful for running multiple instances).