Skip to content

AV-228166 relax subnet uuid validation check for AKS deployments as well #1748

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 24, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions internal/k8s/crdcontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -1004,9 +1004,10 @@ func checkRefOnController(key, refKey, refValue, tenant string) error {
if lib.UsesNetworkRef() || refKey == "NetworkUUID" {
// During the portal-webapp migration from Python to Go, network views were not correctly ported. However, network APIs are now being routed through Go code,
// which is incorrect. The Avi Controller needs to be fixed.
// For now, disabling the subnet UUID validation for AWS to avoid impact on EKS deployments.
if lib.GetCloudType() == lib.CLOUD_AWS {
utils.AviLog.Infof("Cloud Type is AWS, skip validating references on controller")
// For now, subnet UUID validation is disabled for AWS and Azure clouds to avoid impact on EKS and AKS deployments.
cloudType := lib.GetCloudType()
if cloudType == lib.CLOUD_AWS || cloudType == lib.CLOUD_AZURE {
utils.AviLog.Infof("Cloud Type is %q, skip validating references on controller", cloudType)
return nil
}
var rest_response interface{}
Expand Down
Loading