Merge pull request #96907 from pacoxu/patch-1

coredns dep.Severity is newdefault, not newDefault
This commit is contained in:
Kubernetes Prow Robot
2020-11-30 18:04:50 -08:00
committed by GitHub

View File

@@ -380,7 +380,7 @@ func isCoreDNSConfigMapMigrationRequired(corefile, currentInstalledCoreDNSVersio
// Check if there are any plugins/options which needs to be removed or is a new default
for _, dep := range deprecated {
if dep.Severity == "removed" || dep.Severity == "newDefault" {
if dep.Severity == "removed" || dep.Severity == "newdefault" {
isMigrationRequired = true
}
}