diff --git a/pkg/cli/server/server.go b/pkg/cli/server/server.go index 092a06ae4762..5b887efc6caa 100644 --- a/pkg/cli/server/server.go +++ b/pkg/cli/server/server.go @@ -488,9 +488,10 @@ func validateNetworkConfiguration(serverConfig server.Config) error { return errors.Wrap(err, "failed to validate cluster-dns") } - if (serverConfig.ControlConfig.FlannelBackend != "none" || serverConfig.ControlConfig.DisableNPC == false) && (dualCluster || dualService) { - return errors.New("flannel CNI and network policy enforcement are not compatible with dual-stack operation; server must be restarted with --flannel-backend=none --disable-network-policy and an alternative CNI plugin deployed") + if (serverConfig.ControlConfig.DisableNPC == false) && (dualCluster || dualService) { + return errors.New("network policy enforcement is not compatible with dual-stack operation; server must be restarted with --disable-network-policy") } + if dualDNS == true { return errors.New("dual-stack cluster-dns is not supported") }