rancher / terraform-provider-rancher2

Terraform Rancher2 provider
https://www.terraform.io/docs/providers/rancher2/
Mozilla Public License 2.0
255 stars 222 forks source link

CoreDNS configuration #454

Open m4ce opened 3 years ago

m4ce commented 3 years ago

I am trying to figure out how to add stubdomains to coredns. I could use kubernetes_config_map resource but the issue is that the configmap itself already exists and would need to be imported first, which sucks.

Is there any way one can configure stubdomains in coredns via this provider?

spencergilbert commented 3 years ago

https://rancher.com/docs/rke/latest/en/config-options/add-ons/dns/ has some information on for the RKE configuration around dns - but the provider is fairly limited: https://registry.terraform.io/providers/rancher/rancher2/latest/docs/resources/cluster#dns

m4ce commented 3 years ago

@spencergilbert - I've created a feature request with them, see https://github.com/rancher/rke/issues/2236.