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>
(cherry picked from commit 1d8955e)
  • Loading branch information
smira committed Jan 21, 2022
1 parent ba39f68 commit b6be476
Show file tree
Hide file tree
Showing 5 changed files with 5,939 additions and 7 deletions.
2 changes: 1 addition & 1 deletion hack/release.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ preface = """\
title = "Component Updates"
description="""\
* Linux: 5.15.16
* CoreDNS: 1.8.7
"""


[make_deps]

[make_deps.tools]
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 @@ -241,7 +241,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.14/Reference/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,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 @@ -2550,7 +2550,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 b6be476

Please sign in to comment.