Skip to content

Commit

Permalink
Merge pull request #753 from axel7born/fix-overlay-config--v1.39
Browse files Browse the repository at this point in the history
Fix failing validation when overlay config is empty.
  • Loading branch information
MartinWeindel authored Nov 14, 2023
2 parents 1ab1761 + d401312 commit 94c56a1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/apis/azure/validation/shoot.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ func ValidateNetworking(networking *core.Networking, fldPath *field.Path) field.
if overlay["enabled"].(bool) {
allErrs = append(allErrs, field.Forbidden(fldPath.Child("providerConfig").Child("overlay").Child("enabled"), "Calico overlay network is not supported on azure"))
}
} else {
allErrs = append(allErrs, field.Invalid(fldPath.Child("providerConfig").Child("overlay"), networkConfig["overlay"], "error decoding networking provider config"))
}
}

Expand Down

0 comments on commit 94c56a1

Please sign in to comment.