Say that provider is required when setting upstreamnameservers

This commit is contained in:
Catherine Luse
2019-07-27 22:46:03 -07:00
committed by Denise
parent a628ae53ed
commit c081cac2e3
@@ -50,6 +50,8 @@ dns:
By default, CoreDNS will use the host configured nameservers (usually residing at `/etc/resolv.conf`) to resolve external queries. If you want to configure specific upstream nameservers to be used by CoreDNS, you can use the `upstreamnameservers` directive.
When you set `upstreamnameservers`, the `provider` also needs to be set.
```yaml
dns:
provider: coredns
@@ -92,6 +94,8 @@ _Available as of v0.2.0_
By default, kube-dns will use the host configured nameservers (usually residing at `/etc/resolv.conf`) to resolve external queries. If you want to configure specific upstream nameservers to be used by kube-dns, you can use the `upstreamnameservers` directive.
When you set `upstreamnameservers`, the `provider` also needs to be set.
```yaml
dns:
provider: kube-dns