cluster-api-provider-rke2 icon indicating copy to clipboard operation
cluster-api-provider-rke2 copied to clipboard

Cluster.spec.clusterNetwork.serviceDomain not propagated into rke2 config (rke2.yaml)

Open tmmorin opened this issue 8 months ago • 0 comments

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.

tmmorin avatar Jun 11 '24 10:06 tmmorin