mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
Merge pull request #120116 from tukwila/update-coredns-v1.11.0
update coredns to v1.11.1
This commit is contained in:
commit
4cb47f2ba1
@ -31,7 +31,7 @@ dependencies:
|
|||||||
|
|
||||||
# CoreDNS
|
# CoreDNS
|
||||||
- name: "coredns-kube-up"
|
- name: "coredns-kube-up"
|
||||||
version: 1.10.1
|
version: 1.11.1
|
||||||
refPaths:
|
refPaths:
|
||||||
- path: cluster/addons/dns/coredns/coredns.yaml.base
|
- path: cluster/addons/dns/coredns/coredns.yaml.base
|
||||||
match: registry.k8s.io/coredns
|
match: registry.k8s.io/coredns
|
||||||
@ -41,7 +41,7 @@ dependencies:
|
|||||||
match: registry.k8s.io/coredns
|
match: registry.k8s.io/coredns
|
||||||
|
|
||||||
- name: "coredns-kubeadm"
|
- name: "coredns-kubeadm"
|
||||||
version: 1.10.1
|
version: 1.11.1
|
||||||
refPaths:
|
refPaths:
|
||||||
- path: cmd/kubeadm/app/constants/constants.go
|
- path: cmd/kubeadm/app/constants/constants.go
|
||||||
match: CoreDNSVersion =
|
match: CoreDNSVersion =
|
||||||
|
@ -133,7 +133,7 @@ spec:
|
|||||||
kubernetes.io/os: linux
|
kubernetes.io/os: linux
|
||||||
containers:
|
containers:
|
||||||
- name: coredns
|
- name: coredns
|
||||||
image: registry.k8s.io/coredns/coredns:v1.10.1
|
image: registry.k8s.io/coredns/coredns:v1.11.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
@ -133,7 +133,7 @@ spec:
|
|||||||
kubernetes.io/os: linux
|
kubernetes.io/os: linux
|
||||||
containers:
|
containers:
|
||||||
- name: coredns
|
- name: coredns
|
||||||
image: registry.k8s.io/coredns/coredns:v1.10.1
|
image: registry.k8s.io/coredns/coredns:v1.11.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
@ -133,7 +133,7 @@ spec:
|
|||||||
kubernetes.io/os: linux
|
kubernetes.io/os: linux
|
||||||
containers:
|
containers:
|
||||||
- name: coredns
|
- name: coredns
|
||||||
image: registry.k8s.io/coredns/coredns:v1.10.1
|
image: registry.k8s.io/coredns/coredns:v1.11.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
@ -341,7 +341,7 @@ const (
|
|||||||
CoreDNSImageName = "coredns"
|
CoreDNSImageName = "coredns"
|
||||||
|
|
||||||
// CoreDNSVersion is the version of CoreDNS to be deployed if it is used
|
// CoreDNSVersion is the version of CoreDNS to be deployed if it is used
|
||||||
CoreDNSVersion = "v1.10.1"
|
CoreDNSVersion = "v1.11.1"
|
||||||
|
|
||||||
// ClusterConfigurationKind is the string kind value for the ClusterConfiguration struct
|
// ClusterConfigurationKind is the string kind value for the ClusterConfiguration struct
|
||||||
ClusterConfigurationKind = "ClusterConfiguration"
|
ClusterConfigurationKind = "ClusterConfiguration"
|
||||||
|
@ -242,21 +242,21 @@ func TestGetDNSImage(t *testing.T) {
|
|||||||
cfg *kubeadmapi.ClusterConfiguration
|
cfg *kubeadmapi.ClusterConfiguration
|
||||||
}{
|
}{
|
||||||
{
|
{
|
||||||
expected: "foo.io/coredns:v1.10.1",
|
expected: "foo.io/coredns:v1.11.1",
|
||||||
cfg: &kubeadmapi.ClusterConfiguration{
|
cfg: &kubeadmapi.ClusterConfiguration{
|
||||||
ImageRepository: "foo.io",
|
ImageRepository: "foo.io",
|
||||||
DNS: kubeadmapi.DNS{},
|
DNS: kubeadmapi.DNS{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
expected: kubeadmapiv1beta3.DefaultImageRepository + "/coredns/coredns:v1.10.1",
|
expected: kubeadmapiv1beta3.DefaultImageRepository + "/coredns/coredns:v1.11.1",
|
||||||
cfg: &kubeadmapi.ClusterConfiguration{
|
cfg: &kubeadmapi.ClusterConfiguration{
|
||||||
ImageRepository: kubeadmapiv1beta3.DefaultImageRepository,
|
ImageRepository: kubeadmapiv1beta3.DefaultImageRepository,
|
||||||
DNS: kubeadmapi.DNS{},
|
DNS: kubeadmapi.DNS{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
expected: "foo.io/coredns/coredns:v1.10.1",
|
expected: "foo.io/coredns/coredns:v1.11.1",
|
||||||
cfg: &kubeadmapi.ClusterConfiguration{
|
cfg: &kubeadmapi.ClusterConfiguration{
|
||||||
ImageRepository: "foo.io",
|
ImageRepository: "foo.io",
|
||||||
DNS: kubeadmapi.DNS{
|
DNS: kubeadmapi.DNS{
|
||||||
@ -267,12 +267,12 @@ func TestGetDNSImage(t *testing.T) {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
expected: "foo.io/coredns/coredns:v1.11.0",
|
expected: "foo.io/coredns/coredns:v1.11.1",
|
||||||
cfg: &kubeadmapi.ClusterConfiguration{
|
cfg: &kubeadmapi.ClusterConfiguration{
|
||||||
ImageRepository: "foo.io/coredns",
|
ImageRepository: "foo.io/coredns",
|
||||||
DNS: kubeadmapi.DNS{
|
DNS: kubeadmapi.DNS{
|
||||||
ImageMeta: kubeadmapi.ImageMeta{
|
ImageMeta: kubeadmapi.ImageMeta{
|
||||||
ImageTag: "v1.11.0",
|
ImageTag: "v1.11.1",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -698,7 +698,7 @@ spec:
|
|||||||
kubernetes.io/os: linux
|
kubernetes.io/os: linux
|
||||||
containers:
|
containers:
|
||||||
- name: coredns
|
- name: coredns
|
||||||
image: daocloud.io/coredns:v1.10.1
|
image: daocloud.io/coredns:v1.11.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
@ -964,7 +964,7 @@ spec:
|
|||||||
kubernetes.io/os: linux
|
kubernetes.io/os: linux
|
||||||
containers:
|
containers:
|
||||||
- name: coredns
|
- name: coredns
|
||||||
image: daocloud.io/coredns:v1.10.1
|
image: daocloud.io/coredns:v1.11.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
2
go.mod
2
go.mod
@ -22,7 +22,7 @@ require (
|
|||||||
github.com/blang/semver/v4 v4.0.0
|
github.com/blang/semver/v4 v4.0.0
|
||||||
github.com/container-storage-interface/spec v1.8.0
|
github.com/container-storage-interface/spec v1.8.0
|
||||||
github.com/containerd/cgroups v1.1.0
|
github.com/containerd/cgroups v1.1.0
|
||||||
github.com/coredns/corefile-migration v1.0.20
|
github.com/coredns/corefile-migration v1.0.21
|
||||||
github.com/coreos/go-oidc v2.2.1+incompatible
|
github.com/coreos/go-oidc v2.2.1+incompatible
|
||||||
github.com/coreos/go-systemd/v22 v22.5.0
|
github.com/coreos/go-systemd/v22 v22.5.0
|
||||||
github.com/cpuguy83/go-md2man/v2 v2.0.2
|
github.com/cpuguy83/go-md2man/v2 v2.0.2
|
||||||
|
4
go.sum
4
go.sum
@ -299,8 +299,8 @@ github.com/containerd/typeurl v1.0.2/go.mod h1:9trJWW2sRlGub4wZJRTW83VtbOLS6hwcD
|
|||||||
github.com/coredns/caddy v1.1.0/go.mod h1:A6ntJQlAWuQfFlsd9hvigKbo2WS0VUs2l1e2F+BawD4=
|
github.com/coredns/caddy v1.1.0/go.mod h1:A6ntJQlAWuQfFlsd9hvigKbo2WS0VUs2l1e2F+BawD4=
|
||||||
github.com/coredns/caddy v1.1.1 h1:2eYKZT7i6yxIfGP3qLJoJ7HAsDJqYB+X68g4NYjSrE0=
|
github.com/coredns/caddy v1.1.1 h1:2eYKZT7i6yxIfGP3qLJoJ7HAsDJqYB+X68g4NYjSrE0=
|
||||||
github.com/coredns/caddy v1.1.1/go.mod h1:A6ntJQlAWuQfFlsd9hvigKbo2WS0VUs2l1e2F+BawD4=
|
github.com/coredns/caddy v1.1.1/go.mod h1:A6ntJQlAWuQfFlsd9hvigKbo2WS0VUs2l1e2F+BawD4=
|
||||||
github.com/coredns/corefile-migration v1.0.20 h1:MdOkT6F3ehju/n9tgxlGct8XAajOX2vN+wG7To4BWSI=
|
github.com/coredns/corefile-migration v1.0.21 h1:W/DCETrHDiFo0Wj03EyMkaQ9fwsmSgqTCQDHpceaSsE=
|
||||||
github.com/coredns/corefile-migration v1.0.20/go.mod h1:XnhgULOEouimnzgn0t4WPuFDN2/PJQcTxdWKC5eXNGE=
|
github.com/coredns/corefile-migration v1.0.21/go.mod h1:XnhgULOEouimnzgn0t4WPuFDN2/PJQcTxdWKC5eXNGE=
|
||||||
github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk=
|
github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk=
|
||||||
github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
|
github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
|
||||||
github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
|
github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
|
||||||
|
27
vendor/github.com/coredns/corefile-migration/migration/plugins.go
generated
vendored
27
vendor/github.com/coredns/corefile-migration/migration/plugins.go
generated
vendored
@ -309,6 +309,17 @@ var plugins = map[string]map[string]plugin{
|
|||||||
"ttl": {}, // new option
|
"ttl": {}, // new option
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"v3": plugin{
|
||||||
|
namedOptions: map[string]option{
|
||||||
|
"type": {},
|
||||||
|
"class": {},
|
||||||
|
"name": {},
|
||||||
|
"answer name": {},
|
||||||
|
"edns0": {},
|
||||||
|
"ttl": {},
|
||||||
|
"cname_target": {}, // new option
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
"log": {
|
"log": {
|
||||||
@ -335,6 +346,15 @@ var plugins = map[string]map[string]plugin{
|
|||||||
"serve_stale": {}, // new option
|
"serve_stale": {}, // new option
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"v3": plugin{
|
||||||
|
namedOptions: map[string]option{
|
||||||
|
"success": {},
|
||||||
|
"denial": {},
|
||||||
|
"prefetch": {},
|
||||||
|
"serve_stale": {},
|
||||||
|
"keepttl": {}, // new option
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
"forward": {
|
"forward": {
|
||||||
@ -406,6 +426,13 @@ var plugins = map[string]map[string]plugin{
|
|||||||
"ttl": {},
|
"ttl": {},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"v2": plugin{
|
||||||
|
namedOptions: map[string]option{
|
||||||
|
"apex": {},
|
||||||
|
"ttl": {},
|
||||||
|
"fallthrough": {}, // new option
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
"proxy": {
|
"proxy": {
|
||||||
|
52
vendor/github.com/coredns/corefile-migration/migration/versions.go
generated
vendored
52
vendor/github.com/coredns/corefile-migration/migration/versions.go
generated
vendored
@ -30,10 +30,22 @@ type release struct {
|
|||||||
|
|
||||||
// Versions holds a map of plugin/option migrations per CoreDNS release (since 1.1.4)
|
// Versions holds a map of plugin/option migrations per CoreDNS release (since 1.1.4)
|
||||||
var Versions = map[string]release{
|
var Versions = map[string]release{
|
||||||
|
"1.11.1": {
|
||||||
|
priorVersion: "1.11.0",
|
||||||
|
dockerImageSHA: "1eeb4c7316bacb1d4c8ead65571cd92dd21e27359f0d4917f1a5822a73b75db1",
|
||||||
|
plugins: plugins_1_11_0,
|
||||||
|
},
|
||||||
|
"1.11.0": {
|
||||||
|
nextVersion: "1.11.1",
|
||||||
|
priorVersion: "1.10.1",
|
||||||
|
dockerImageSHA: "cc3ebb05fbdba439d2d69813f162aa204b027098c8244fb3156e6e7c0f31c548",
|
||||||
|
plugins: plugins_1_11_0,
|
||||||
|
},
|
||||||
"1.10.1": {
|
"1.10.1": {
|
||||||
|
nextVersion: "1.11.0",
|
||||||
priorVersion: "1.10.0",
|
priorVersion: "1.10.0",
|
||||||
dockerImageSHA: "a0ead06651cf580044aeb0a0feba63591858fb2e43ade8c9dea45a6a89ae7e5e",
|
dockerImageSHA: "a0ead06651cf580044aeb0a0feba63591858fb2e43ade8c9dea45a6a89ae7e5e",
|
||||||
plugins: plugins_1_9_3,
|
plugins: plugins_1_10_1,
|
||||||
},
|
},
|
||||||
"1.10.0": {
|
"1.10.0": {
|
||||||
nextVersion: "1.10.1",
|
nextVersion: "1.10.1",
|
||||||
@ -745,6 +757,44 @@ var Versions = map[string]release{
|
|||||||
}`},
|
}`},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var plugins_1_11_0 = map[string]plugin{
|
||||||
|
"errors": plugins["errors"]["v3"],
|
||||||
|
"log": plugins["log"]["v1"],
|
||||||
|
"health": plugins["health"]["v1"],
|
||||||
|
"ready": {},
|
||||||
|
"autopath": {},
|
||||||
|
"kubernetes": plugins["kubernetes"]["v8"],
|
||||||
|
"k8s_external": plugins["k8s_external"]["v2"], //add fallthrough option
|
||||||
|
"prometheus": {},
|
||||||
|
"forward": plugins["forward"]["v3"],
|
||||||
|
"cache": plugins["cache"]["v2"],
|
||||||
|
"loop": {},
|
||||||
|
"reload": {},
|
||||||
|
"loadbalance": {},
|
||||||
|
"hosts": plugins["hosts"]["v1"],
|
||||||
|
"rewrite": plugins["rewrite"]["v3"], // add cname_target option
|
||||||
|
"transfer": plugins["transfer"]["v1"],
|
||||||
|
}
|
||||||
|
|
||||||
|
var plugins_1_10_1 = map[string]plugin{
|
||||||
|
"errors": plugins["errors"]["v3"],
|
||||||
|
"log": plugins["log"]["v1"],
|
||||||
|
"health": plugins["health"]["v1"],
|
||||||
|
"ready": {},
|
||||||
|
"autopath": {},
|
||||||
|
"kubernetes": plugins["kubernetes"]["v8"],
|
||||||
|
"k8s_external": plugins["k8s_external"]["v1"],
|
||||||
|
"prometheus": {},
|
||||||
|
"forward": plugins["forward"]["v3"],
|
||||||
|
"cache": plugins["cache"]["v2"], // add keepttl option
|
||||||
|
"loop": {},
|
||||||
|
"reload": {},
|
||||||
|
"loadbalance": {},
|
||||||
|
"hosts": plugins["hosts"]["v1"],
|
||||||
|
"rewrite": plugins["rewrite"]["v2"],
|
||||||
|
"transfer": plugins["transfer"]["v1"],
|
||||||
|
}
|
||||||
|
|
||||||
var plugins_1_9_3 = map[string]plugin{
|
var plugins_1_9_3 = map[string]plugin{
|
||||||
"errors": plugins["errors"]["v3"], // stacktrace option added
|
"errors": plugins["errors"]["v3"], // stacktrace option added
|
||||||
"log": plugins["log"]["v1"],
|
"log": plugins["log"]["v1"],
|
||||||
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@ -156,7 +156,7 @@ github.com/containerd/ttrpc
|
|||||||
# github.com/coredns/caddy v1.1.1
|
# github.com/coredns/caddy v1.1.1
|
||||||
## explicit; go 1.13
|
## explicit; go 1.13
|
||||||
github.com/coredns/caddy/caddyfile
|
github.com/coredns/caddy/caddyfile
|
||||||
# github.com/coredns/corefile-migration v1.0.20
|
# github.com/coredns/corefile-migration v1.0.21
|
||||||
## explicit; go 1.14
|
## explicit; go 1.14
|
||||||
github.com/coredns/corefile-migration/migration
|
github.com/coredns/corefile-migration/migration
|
||||||
github.com/coredns/corefile-migration/migration/corefile
|
github.com/coredns/corefile-migration/migration/corefile
|
||||||
|
Loading…
Reference in New Issue
Block a user