mirror of
https://github.com/tailscale/tailscale.git
synced 2025-10-29 07:09:33 +00:00
k8s-operator: add IPv6 support for DNS records (#16691)
This change adds full IPv6 support to the Kubernetes operator's DNS functionality, enabling dual-stack and IPv6-only cluster support. Fixes #16633 Signed-off-by: Raj Singh <raj@tailscale.com>
This commit is contained in:
@@ -27,6 +27,11 @@ type Records struct {
|
||||
Version string `json:"version"`
|
||||
// IP4 contains a mapping of DNS names to IPv4 address(es).
|
||||
IP4 map[string][]string `json:"ip4"`
|
||||
// IP6 contains a mapping of DNS names to IPv6 address(es).
|
||||
// This field is optional and will be omitted from JSON if empty.
|
||||
// It enables dual-stack DNS support in Kubernetes clusters.
|
||||
// +optional
|
||||
IP6 map[string][]string `json:"ip6,omitempty"`
|
||||
}
|
||||
|
||||
// TailscaledConfigFileName returns a tailscaled config file name in
|
||||
|
||||
Reference in New Issue
Block a user