cluster-api-provider-rke2
cluster-api-provider-rke2 copied to clipboard
Cluster.spec.clusterNetwork.serviceDomain not propagated into rke2 config (rke2.yaml)
There is code to propagate network settings present under spec.clusterNetwork
in the CAPI Cluster resource, to the RKE2 configuration:
https://github.com/rancher-sandbox/cluster-api-provider-rke2/blob/main/pkg/rke2/config.go#L190-L200
... but this code does not cover Cluster.spec.clusterNetwork.serviceDomain
This isn't something frequently overridden, and this can I think be worked around by setting RKE2ControlPlane.spec.serverConfig.clusterDomain
, so it's a minor issue.