Skip to content

Commit 18fd155

Browse files
committed
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 <[email protected]>
1 parent 7c893bc commit 18fd155

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎packages/extra/external-dns/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
| `domainFilters` | List of domains this external-dns instance can manage. | `[]string` | `[]` |
1111
| `policy` | How DNS records are synchronized. | `string` | `upsert-only` |
1212
| `extraArgs` | Extra arguments for external-dns. | `[]string` | `[]` |
13-
| `gatewayAPI` | Enable Gateway API HTTPRoute as a source for DNS records. | `bool` | `false` |
13+
| `gatewayAPI` | Enable Gateway API HTTPRoute and TLSRoute as sources for DNS records. | `bool` | `false` |
1414
| `annotationPrefix` | Custom annotation prefix for external-dns (useful for running multiple instances). | `string` | `""` |
1515

1616

‎packages/extra/external-dns/templates/external-dns.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ spec:
3737
- service
3838
{{- if .Values.gatewayAPI }}
3939
- gateway-httproute
40+
- gateway-tlsroute
4041
{{- end }}
4142
{{- with .Values.domainFilters }}
4243
domainFilters:

‎packages/extra/external-dns/values.schema.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
}
4646
},
4747
"gatewayAPI": {
48-
"description": "Enable Gateway API HTTPRoute as a source for DNS records.",
48+
"description": "Enable Gateway API HTTPRoute and TLSRoute as sources for DNS records.",
4949
"type": "boolean",
5050
"default": false
5151
},

‎packages/extra/external-dns/values.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ policy: "upsert-only"
3131
## @param {[]string} extraArgs - Extra arguments for external-dns.
3232
extraArgs: []
3333

34-
## @param {bool} gatewayAPI=false - Enable Gateway API HTTPRoute as a source for DNS records.
34+
## @param {bool} gatewayAPI=false - Enable Gateway API HTTPRoute and TLSRoute as sources for DNS records.
3535
gatewayAPI: false
3636

3737
## @param {string} [annotationPrefix] - Custom annotation prefix for external-dns (useful for running multiple instances).

0 commit comments

Comments
 (0)