Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to configure DNS stubDomains #369

Open
agodard opened this issue Dec 23, 2022 · 0 comments
Open

Add a way to configure DNS stubDomains #369

agodard opened this issue Dec 23, 2022 · 0 comments

Comments

@agodard
Copy link

agodard commented Dec 23, 2022

Problem
I currently need to update my DNS configmap manually after installing my cluster. Could we implement a rke_cluster attribute to configure DNS stubDomains programmatically ?

See cluster DNS configuration : https://registry.terraform.io/providers/rancher/rke/latest/docs/resources/cluster#dns

Example

resource "rke_cluster" "my_cluster" {
  [...]
  dns {
    provider = "kube-dns"
    stubdomains = {
      "exemple.com": ["ns1.exemple.io", "ns2.exemple.org"]
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant