Skip to content

Commit

Permalink
feat: update CoreDNS to 1.8.7
Browse files Browse the repository at this point in the history
Drop the rewrite rule which seems to be causing issues for
`ingress-nginx` when Kubernetes IPv4-only cluster runs in the
IPv6-enabled environment.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
  • Loading branch information
smira committed Jan 18, 2022
1 parent 6af83af commit 1d8955e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions hack/release.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ with a single `--mode` flag that can take the following values:
description="""\
* Linux: 5.15.11
* containerd: 1.5.9
* CoreDNS: 1.8.7
Talos is built with Go 1.17.6
"""
Expand Down
3 changes: 0 additions & 3 deletions internal/app/machined/pkg/controllers/k8s/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,6 @@ data:
fallthrough in-addr.arpa ip6.arpa
}
forward . /etc/resolv.conf
{{- if not .DNSServiceIPv6 }}
rewrite stop type AAAA A
{{- end }}
cache 30
loop
reload
Expand Down
2 changes: 1 addition & 1 deletion pkg/machinery/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ const (
CoreDNSImage = "docker.io/coredns/coredns"

// DefaultCoreDNSVersion is the default version for the CoreDNS.
DefaultCoreDNSVersion = "1.8.6"
DefaultCoreDNSVersion = "1.8.7"

// LabelNodeRoleMaster is the node label required by a control plane node.
LabelNodeRoleMaster = "node-role.kubernetes.io/master"
Expand Down
4 changes: 2 additions & 2 deletions website/content/docs/v0.15/Reference/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@ Examples:

``` yaml
coreDNS:
image: docker.io/coredns/coredns:1.8.6 # The `image` field is an override to the default coredns image.
image: docker.io/coredns/coredns:1.8.7 # The `image` field is an override to the default coredns image.
```
Expand Down Expand Up @@ -2575,7 +2575,7 @@ Appears in:


``` yaml
image: docker.io/coredns/coredns:1.8.6 # The `image` field is an override to the default coredns image.
image: docker.io/coredns/coredns:1.8.7 # The `image` field is an override to the default coredns image.
```

<hr />
Expand Down

0 comments on commit 1d8955e

Please sign in to comment.