Skip IPv6 LB test in the k/s e2e

This commit is contained in:
Ciprian Hacman 2021-12-13 12:16:45 +02:00
parent 724067a5a4
commit 133177f0c1
1 changed files with 2 additions and 3 deletions

View File

@ -80,9 +80,8 @@ func (t *Tester) setSkipRegexFlag() error {
skipRegex += "|In-tree.Volumes.\\[Driver:.gcepd\\].*topology.should.provision.a.volume.and.schedule.a.pod.with.AllowedTopologies" skipRegex += "|In-tree.Volumes.\\[Driver:.gcepd\\].*topology.should.provision.a.volume.and.schedule.a.pod.with.AllowedTopologies"
} }
if cluster.Spec.CloudProvider == "aws" && utils.IsIPv6CIDR(cluster.Spec.NonMasqueradeCIDR) { if strings.Contains(cluster.Spec.KubernetesVersion, "v1.23.") && cluster.Spec.CloudProvider == "aws" && utils.IsIPv6CIDR(cluster.Spec.NonMasqueradeCIDR) {
// AWS VPC Classic ELBs are IPv4 only // ref: https://github.com/kubernetes/kubernetes/pull/106992
// ref: https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-internet-facing-load-balancers.html#internet-facing-ip-addresses
skipRegex += "|should.not.disrupt.a.cloud.load-balancer.s.connectivity.during.rollout" skipRegex += "|should.not.disrupt.a.cloud.load-balancer.s.connectivity.during.rollout"
} }