mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-08 21:14:56 +09:00
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:
4 files changed
+4
-3
No files matched your search
@@ -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
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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).
|
||||||
|
|||||||
Reference in new issue
Block a user