mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-05-05 12:32:34 +02:00
parent
56bee8655c
commit
cf59f40250
2 changed files with 10 additions and 5 deletions
|
@ -22,7 +22,7 @@ func (n *Notice) ToString() string {
|
||||||
if n.Severity == unsupported {
|
if n.Severity == unsupported {
|
||||||
s += "is unsupported by this migration tool in " + n.Version + "."
|
s += "is unsupported by this migration tool in " + n.Version + "."
|
||||||
} else {
|
} else {
|
||||||
s += "was " + n.Severity + " in " + n.Version + "."
|
s += "is " + n.Severity + " in " + n.Version + "."
|
||||||
}
|
}
|
||||||
if n.ReplacedBy != "" {
|
if n.ReplacedBy != "" {
|
||||||
s += fmt.Sprintf(` It is replaced by "%v".`, n.ReplacedBy)
|
s += fmt.Sprintf(` It is replaced by "%v".`, n.ReplacedBy)
|
||||||
|
@ -34,7 +34,8 @@ func (n *Notice) ToString() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
deprecated = "deprecated" // plugin/option is deprecated
|
deprecated = "deprecated" // plugin/option is deprecated in CoreDNS
|
||||||
removed = "removed" // plugin/option has been removed
|
ignored = "ignored" // plugin/option is ignored by CoreDNS
|
||||||
|
removed = "removed" // plugin/option has been removed from CoreDNS
|
||||||
unsupported = "unsupported" // plugin/option is not supported by the migration tool
|
unsupported = "unsupported" // plugin/option is not supported by the migration tool
|
||||||
)
|
)
|
||||||
|
|
|
@ -63,7 +63,7 @@ var Versions = map[string]release{
|
||||||
action: removeOption,
|
action: removeOption,
|
||||||
},
|
},
|
||||||
"endpoint": {
|
"endpoint": {
|
||||||
status: deprecated,
|
status: ignored,
|
||||||
action: removeExtraEndpoints,
|
action: removeExtraEndpoints,
|
||||||
},
|
},
|
||||||
"tls": {},
|
"tls": {},
|
||||||
|
@ -72,6 +72,10 @@ var Versions = map[string]release{
|
||||||
"labels": {},
|
"labels": {},
|
||||||
"pods": {},
|
"pods": {},
|
||||||
"endpoint_pod_names": {},
|
"endpoint_pod_names": {},
|
||||||
|
"upstream": {
|
||||||
|
status: ignored,
|
||||||
|
action: removeOption,
|
||||||
|
},
|
||||||
"ttl": {},
|
"ttl": {},
|
||||||
"noendpoints": {},
|
"noendpoints": {},
|
||||||
"transfer": {},
|
"transfer": {},
|
||||||
|
@ -120,7 +124,7 @@ var Versions = map[string]release{
|
||||||
options: map[string]option{
|
options: map[string]option{
|
||||||
"resyncperiod": {},
|
"resyncperiod": {},
|
||||||
"endpoint": {
|
"endpoint": {
|
||||||
status: deprecated,
|
status: ignored,
|
||||||
action: removeExtraEndpoints,
|
action: removeExtraEndpoints,
|
||||||
},
|
},
|
||||||
"tls": {},
|
"tls": {},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue