mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Update coredns to 1.12.0
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
This commit is contained in:
parent
14dafc30c9
commit
fb47caa689
@ -31,7 +31,7 @@ dependencies:
|
|||||||
|
|
||||||
# CoreDNS
|
# CoreDNS
|
||||||
- name: "coredns-kube-up"
|
- name: "coredns-kube-up"
|
||||||
version: 1.11.3
|
version: 1.12.0
|
||||||
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.11.3
|
version: 1.12.0
|
||||||
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.11.3
|
image: registry.k8s.io/coredns/coredns:v1.12.0
|
||||||
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.11.3
|
image: registry.k8s.io/coredns/coredns:v1.12.0
|
||||||
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.11.3
|
image: registry.k8s.io/coredns/coredns:v1.12.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
@ -364,7 +364,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.11.3"
|
CoreDNSVersion = "v1.12.0"
|
||||||
|
|
||||||
// ClusterConfigurationKind is the string kind value for the ClusterConfiguration struct
|
// ClusterConfigurationKind is the string kind value for the ClusterConfiguration struct
|
||||||
ClusterConfigurationKind = "ClusterConfiguration"
|
ClusterConfigurationKind = "ClusterConfiguration"
|
||||||
|
@ -315,21 +315,21 @@ func TestGetDNSImage(t *testing.T) {
|
|||||||
cfg *kubeadmapi.ClusterConfiguration
|
cfg *kubeadmapi.ClusterConfiguration
|
||||||
}{
|
}{
|
||||||
{
|
{
|
||||||
expected: "foo.io/coredns:v1.11.3",
|
expected: "foo.io/coredns:" + constants.CoreDNSVersion,
|
||||||
cfg: &kubeadmapi.ClusterConfiguration{
|
cfg: &kubeadmapi.ClusterConfiguration{
|
||||||
ImageRepository: "foo.io",
|
ImageRepository: "foo.io",
|
||||||
DNS: kubeadmapi.DNS{},
|
DNS: kubeadmapi.DNS{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
expected: kubeadmapiv1.DefaultImageRepository + "/coredns/coredns:v1.11.3",
|
expected: kubeadmapiv1.DefaultImageRepository + "/coredns/coredns:" + constants.CoreDNSVersion,
|
||||||
cfg: &kubeadmapi.ClusterConfiguration{
|
cfg: &kubeadmapi.ClusterConfiguration{
|
||||||
ImageRepository: kubeadmapiv1.DefaultImageRepository,
|
ImageRepository: kubeadmapiv1.DefaultImageRepository,
|
||||||
DNS: kubeadmapi.DNS{},
|
DNS: kubeadmapi.DNS{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
expected: "foo.io/coredns/coredns:v1.11.3",
|
expected: "foo.io/coredns/coredns:" + constants.CoreDNSVersion,
|
||||||
cfg: &kubeadmapi.ClusterConfiguration{
|
cfg: &kubeadmapi.ClusterConfiguration{
|
||||||
ImageRepository: "foo.io",
|
ImageRepository: "foo.io",
|
||||||
DNS: kubeadmapi.DNS{
|
DNS: kubeadmapi.DNS{
|
||||||
@ -340,12 +340,12 @@ func TestGetDNSImage(t *testing.T) {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
expected: "foo.io/coredns/coredns:v1.11.3",
|
expected: "foo.io/coredns/coredns:" + constants.CoreDNSVersion,
|
||||||
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.3",
|
ImageTag: constants.CoreDNSVersion,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -666,7 +666,7 @@ func TestCoreDNSAddon(t *testing.T) {
|
|||||||
client: newMockClientForTest(t, 2, 1, "", "", ""),
|
client: newMockClientForTest(t, 2, 1, "", "", ""),
|
||||||
printManifest: true,
|
printManifest: true,
|
||||||
},
|
},
|
||||||
wantOut: dedent.Dedent(`---
|
wantOut: dedent.Dedent(fmt.Sprintf(`---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
@ -710,7 +710,7 @@ spec:
|
|||||||
kubernetes.io/os: linux
|
kubernetes.io/os: linux
|
||||||
containers:
|
containers:
|
||||||
- name: coredns
|
- name: coredns
|
||||||
image: foo.bar.io/coredns:v1.11.3
|
image: foo.bar.io/coredns:%s
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
@ -866,7 +866,7 @@ kind: ServiceAccount
|
|||||||
metadata:
|
metadata:
|
||||||
name: coredns
|
name: coredns
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
`),
|
`, kubeadmconstants.CoreDNSVersion)),
|
||||||
wantErr: false,
|
wantErr: false,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@ -950,7 +950,7 @@ func TestEnsureDNSAddon(t *testing.T) {
|
|||||||
client: newMockClientForTest(t, 0, 1, "", "", ""),
|
client: newMockClientForTest(t, 0, 1, "", "", ""),
|
||||||
printManifest: true,
|
printManifest: true,
|
||||||
},
|
},
|
||||||
wantOut: dedent.Dedent(`---
|
wantOut: dedent.Dedent(fmt.Sprintf(`---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
@ -994,7 +994,7 @@ spec:
|
|||||||
kubernetes.io/os: linux
|
kubernetes.io/os: linux
|
||||||
containers:
|
containers:
|
||||||
- name: coredns
|
- name: coredns
|
||||||
image: foo.bar.io/coredns:v1.11.3
|
image: foo.bar.io/coredns:%s
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
@ -1150,7 +1150,7 @@ kind: ServiceAccount
|
|||||||
metadata:
|
metadata:
|
||||||
name: coredns
|
name: coredns
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
`),
|
`, kubeadmconstants.CoreDNSVersion)),
|
||||||
wantErr: false,
|
wantErr: false,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@ -1423,28 +1423,28 @@ func TestDeployedDNSAddon(t *testing.T) {
|
|||||||
}{
|
}{
|
||||||
{
|
{
|
||||||
name: "default",
|
name: "default",
|
||||||
image: "registry.k8s.io/coredns/coredns:v1.11.3",
|
image: "registry.k8s.io/coredns/coredns:" + kubeadmconstants.CoreDNSVersion,
|
||||||
deploymentSize: 1,
|
deploymentSize: 1,
|
||||||
wantVersion: "v1.11.3",
|
wantVersion: kubeadmconstants.CoreDNSVersion,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "no dns addon deployment",
|
name: "no dns addon deployment",
|
||||||
image: "registry.k8s.io/coredns/coredns:v1.11.3",
|
image: "registry.k8s.io/coredns/coredns:" + kubeadmconstants.CoreDNSVersion,
|
||||||
deploymentSize: 0,
|
deploymentSize: 0,
|
||||||
wantVersion: "",
|
wantVersion: "",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "multiple dns addon deployment",
|
name: "multiple dns addon deployment",
|
||||||
image: "registry.k8s.io/coredns/coredns:v1.11.3",
|
image: "registry.k8s.io/coredns/coredns:" + kubeadmconstants.CoreDNSVersion,
|
||||||
deploymentSize: 2,
|
deploymentSize: 2,
|
||||||
wantVersion: "",
|
wantVersion: "",
|
||||||
wantErr: true,
|
wantErr: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "with digest",
|
name: "with digest",
|
||||||
image: "registry.k8s.io/coredns/coredns:v1.11.3@sha256:a0ead06651cf580044aeb0a0feba63591858fb2e43ade8c9dea45a6a89ae7e5e",
|
image: "registry.k8s.io/coredns/coredns:v1.12.0@sha256:a0ead06651cf580044aeb0a0feba63591858fb2e43ade8c9dea45a6a89ae7e5e",
|
||||||
deploymentSize: 1,
|
deploymentSize: 1,
|
||||||
wantVersion: "v1.11.3",
|
wantVersion: kubeadmconstants.CoreDNSVersion,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "without registry",
|
name: "without registry",
|
||||||
@ -1664,7 +1664,7 @@ func TestIsCoreDNSConfigMapMigrationRequired(t *testing.T) {
|
|||||||
// deploymentSize is the number of deployments with `k8s-app=kube-dns` label.
|
// deploymentSize is the number of deployments with `k8s-app=kube-dns` label.
|
||||||
func newMockClientForTest(t *testing.T, replicas int32, deploymentSize int, image string, configMap string, configData string) *clientsetfake.Clientset {
|
func newMockClientForTest(t *testing.T, replicas int32, deploymentSize int, image string, configMap string, configData string) *clientsetfake.Clientset {
|
||||||
if image == "" {
|
if image == "" {
|
||||||
image = "registry.k8s.io/coredns/coredns:v1.11.3"
|
image = "registry.k8s.io/coredns/coredns:" + kubeadmconstants.CoreDNSVersion
|
||||||
}
|
}
|
||||||
client := clientsetfake.NewSimpleClientset()
|
client := clientsetfake.NewSimpleClientset()
|
||||||
for i := 0; i < deploymentSize; i++ {
|
for i := 0; i < deploymentSize; i++ {
|
||||||
|
2
go.mod
2
go.mod
@ -21,7 +21,7 @@ require (
|
|||||||
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5
|
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5
|
||||||
github.com/blang/semver/v4 v4.0.0
|
github.com/blang/semver/v4 v4.0.0
|
||||||
github.com/container-storage-interface/spec v1.9.0
|
github.com/container-storage-interface/spec v1.9.0
|
||||||
github.com/coredns/corefile-migration v1.0.24
|
github.com/coredns/corefile-migration v1.0.25
|
||||||
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.4
|
github.com/cpuguy83/go-md2man/v2 v2.0.4
|
||||||
|
4
go.sum
4
go.sum
@ -193,8 +193,8 @@ github.com/containerd/typeurl/v2 v2.2.0 h1:6NBDbQzr7I5LHgp34xAXYF5DOTQDn05X58lsP
|
|||||||
github.com/containerd/typeurl/v2 v2.2.0/go.mod h1:8XOOxnyatxSWuG8OfsZXVnAF4iZfedjS/8UHSPJnX4g=
|
github.com/containerd/typeurl/v2 v2.2.0/go.mod h1:8XOOxnyatxSWuG8OfsZXVnAF4iZfedjS/8UHSPJnX4g=
|
||||||
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.24 h1:NL/zRKijhJZLYlNnMr891DRv5jXgfd3Noons1M6oTpc=
|
github.com/coredns/corefile-migration v1.0.25 h1:/XexFhM8FFlFLTS/zKNEWgIZ8Gl5GaWrHsMarGj/PRQ=
|
||||||
github.com/coredns/corefile-migration v1.0.24/go.mod h1:56DPqONc3njpVPsdilEnfijCwNGC3/kTJLl7i7SPavY=
|
github.com/coredns/corefile-migration v1.0.25/go.mod h1:56DPqONc3njpVPsdilEnfijCwNGC3/kTJLl7i7SPavY=
|
||||||
github.com/coreos/go-oidc v2.2.1+incompatible h1:mh48q/BqXqgjVHpy2ZY7WnWAbenxRjsz9N1i1YxjHAk=
|
github.com/coreos/go-oidc v2.2.1+incompatible h1:mh48q/BqXqgjVHpy2ZY7WnWAbenxRjsz9N1i1YxjHAk=
|
||||||
github.com/coreos/go-oidc v2.2.1+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc=
|
github.com/coreos/go-oidc v2.2.1+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc=
|
||||||
github.com/coreos/go-semver v0.3.1 h1:yi21YpKnrx1gt5R+la8n5WgS0kCrsPp33dmEyHReZr4=
|
github.com/coreos/go-semver v0.3.1 h1:yi21YpKnrx1gt5R+la8n5WgS0kCrsPp33dmEyHReZr4=
|
||||||
|
27
vendor/github.com/coredns/corefile-migration/migration/plugins.go
generated
vendored
27
vendor/github.com/coredns/corefile-migration/migration/plugins.go
generated
vendored
@ -352,6 +352,18 @@ var plugins = map[string]map[string]plugin{
|
|||||||
"denial": {},
|
"denial": {},
|
||||||
"prefetch": {},
|
"prefetch": {},
|
||||||
"serve_stale": {},
|
"serve_stale": {},
|
||||||
|
"disable": {}, // v1.9.4 new option
|
||||||
|
"servfail": {}, // v1.9.4 new option
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"v4": plugin{
|
||||||
|
namedOptions: map[string]option{
|
||||||
|
"success": {},
|
||||||
|
"denial": {},
|
||||||
|
"prefetch": {},
|
||||||
|
"serve_stale": {},
|
||||||
|
"disable": {},
|
||||||
|
"servfail": {},
|
||||||
"keepttl": {}, // new option
|
"keepttl": {}, // new option
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -417,6 +429,21 @@ var plugins = map[string]map[string]plugin{
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"v4": plugin{
|
||||||
|
namedOptions: map[string]option{
|
||||||
|
"except": {},
|
||||||
|
"force_tcp": {},
|
||||||
|
"prefer_udp": {},
|
||||||
|
"expire": {},
|
||||||
|
"max_fails": {},
|
||||||
|
"tls": {},
|
||||||
|
"tls_servername": {},
|
||||||
|
"policy": {},
|
||||||
|
"health_check": {},
|
||||||
|
"max_concurrent": {},
|
||||||
|
"next": {}, // new option
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
"k8s_external": {
|
"k8s_external": {
|
||||||
|
58
vendor/github.com/coredns/corefile-migration/migration/versions.go
generated
vendored
58
vendor/github.com/coredns/corefile-migration/migration/versions.go
generated
vendored
@ -30,7 +30,19 @@ 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.12.0": {
|
||||||
|
priorVersion: "1.11.4",
|
||||||
|
dockerImageSHA: "40384aa1f5ea6bfdc77997d243aec73da05f27aed0c5e9d65bfa98933c519d97",
|
||||||
|
plugins: plugins_1_11_4,
|
||||||
|
},
|
||||||
|
"1.11.4": {
|
||||||
|
nextVersion: "1.12.0",
|
||||||
|
priorVersion: "1.11.3",
|
||||||
|
dockerImageSHA: "4190b960ea90e017631e3e1a38eea28e98e057ab60d57d47b3db6e5cf77436f7",
|
||||||
|
plugins: plugins_1_11_4,
|
||||||
|
},
|
||||||
"1.11.3": {
|
"1.11.3": {
|
||||||
|
nextVersion: "1.11.4",
|
||||||
priorVersion: "1.11.1",
|
priorVersion: "1.11.1",
|
||||||
dockerImageSHA: "9caabbf6238b189a65d0d6e6ac138de60d6a1c419e5a341fbbb7c78382559c6e",
|
dockerImageSHA: "9caabbf6238b189a65d0d6e6ac138de60d6a1c419e5a341fbbb7c78382559c6e",
|
||||||
plugins: plugins_1_11_0,
|
plugins: plugins_1_11_0,
|
||||||
@ -57,13 +69,13 @@ var Versions = map[string]release{
|
|||||||
nextVersion: "1.10.1",
|
nextVersion: "1.10.1",
|
||||||
priorVersion: "1.9.4",
|
priorVersion: "1.9.4",
|
||||||
dockerImageSHA: "017727efcfeb7d053af68e51436ce8e65edbc6ca573720afb4f79c8594036955",
|
dockerImageSHA: "017727efcfeb7d053af68e51436ce8e65edbc6ca573720afb4f79c8594036955",
|
||||||
plugins: plugins_1_9_3,
|
plugins: plugins_1_9_4,
|
||||||
},
|
},
|
||||||
"1.9.4": {
|
"1.9.4": {
|
||||||
nextVersion: "1.10.0",
|
nextVersion: "1.10.0",
|
||||||
priorVersion: "1.9.3",
|
priorVersion: "1.9.3",
|
||||||
dockerImageSHA: "b82e294de6be763f73ae71266c8f5466e7e03c69f3a1de96efd570284d35bb18",
|
dockerImageSHA: "b82e294de6be763f73ae71266c8f5466e7e03c69f3a1de96efd570284d35bb18",
|
||||||
plugins: plugins_1_9_3,
|
plugins: plugins_1_9_4,
|
||||||
},
|
},
|
||||||
"1.9.3": {
|
"1.9.3": {
|
||||||
nextVersion: "1.9.4",
|
nextVersion: "1.9.4",
|
||||||
@ -763,6 +775,25 @@ var Versions = map[string]release{
|
|||||||
}`},
|
}`},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var plugins_1_11_4 = 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"],
|
||||||
|
"prometheus": {},
|
||||||
|
"forward": plugins["forward"]["v4"], // add next option
|
||||||
|
"cache": plugins["cache"]["v4"],
|
||||||
|
"loop": {},
|
||||||
|
"reload": {},
|
||||||
|
"loadbalance": {},
|
||||||
|
"hosts": plugins["hosts"]["v1"],
|
||||||
|
"rewrite": plugins["rewrite"]["v3"],
|
||||||
|
"transfer": plugins["transfer"]["v1"],
|
||||||
|
}
|
||||||
|
|
||||||
var plugins_1_11_0 = map[string]plugin{
|
var plugins_1_11_0 = map[string]plugin{
|
||||||
"errors": plugins["errors"]["v3"],
|
"errors": plugins["errors"]["v3"],
|
||||||
"log": plugins["log"]["v1"],
|
"log": plugins["log"]["v1"],
|
||||||
@ -773,7 +804,7 @@ var plugins_1_11_0 = map[string]plugin{
|
|||||||
"k8s_external": plugins["k8s_external"]["v2"], //add fallthrough option
|
"k8s_external": plugins["k8s_external"]["v2"], //add fallthrough option
|
||||||
"prometheus": {},
|
"prometheus": {},
|
||||||
"forward": plugins["forward"]["v3"],
|
"forward": plugins["forward"]["v3"],
|
||||||
"cache": plugins["cache"]["v2"],
|
"cache": plugins["cache"]["v4"],
|
||||||
"loop": {},
|
"loop": {},
|
||||||
"reload": {},
|
"reload": {},
|
||||||
"loadbalance": {},
|
"loadbalance": {},
|
||||||
@ -792,7 +823,26 @@ var plugins_1_10_1 = map[string]plugin{
|
|||||||
"k8s_external": plugins["k8s_external"]["v1"],
|
"k8s_external": plugins["k8s_external"]["v1"],
|
||||||
"prometheus": {},
|
"prometheus": {},
|
||||||
"forward": plugins["forward"]["v3"],
|
"forward": plugins["forward"]["v3"],
|
||||||
"cache": plugins["cache"]["v2"], // add keepttl option
|
"cache": plugins["cache"]["v4"], // add keepttl option
|
||||||
|
"loop": {},
|
||||||
|
"reload": {},
|
||||||
|
"loadbalance": {},
|
||||||
|
"hosts": plugins["hosts"]["v1"],
|
||||||
|
"rewrite": plugins["rewrite"]["v2"],
|
||||||
|
"transfer": plugins["transfer"]["v1"],
|
||||||
|
}
|
||||||
|
|
||||||
|
var plugins_1_9_4 = map[string]plugin{
|
||||||
|
"errors": plugins["errors"]["v3"], // stacktrace option added
|
||||||
|
"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"]["v3"], // add disable and servfail options
|
||||||
"loop": {},
|
"loop": {},
|
||||||
"reload": {},
|
"reload": {},
|
||||||
"loadbalance": {},
|
"loadbalance": {},
|
||||||
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@ -86,7 +86,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.24
|
# github.com/coredns/corefile-migration v1.0.25
|
||||||
## 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