Skip to content

Commit

Permalink
Fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
caseydavenport committed Aug 26, 2024
1 parent f3fefef commit 1d40e30
Showing 1 changed file with 24 additions and 21 deletions.
45 changes: 24 additions & 21 deletions pkg/controller/ippool/pool_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -444,13 +444,14 @@ var _ = table.DescribeTable("Test OpenShift IP pool defaulting",
&operator.CalicoNetworkSpec{
IPPools: []operator.IPPool{
{
Name: "default-ipv4-ippool",
CIDR: "192.168.0.0/16",
Encapsulation: "IPIP",
NATOutgoing: "Enabled",
NodeSelector: "all()",
BlockSize: &twentySix,
AllowedUses: []operator.IPPoolAllowedUse{operator.IPPoolAllowedUseWorkload, operator.IPPoolAllowedUseTunnel},
Name: "default-ipv4-ippool",
CIDR: "192.168.0.0/16",
Encapsulation: "IPIP",
NATOutgoing: "Enabled",
NodeSelector: "all()",
BlockSize: &twentySix,
AllowedUses: []operator.IPPoolAllowedUse{operator.IPPoolAllowedUseWorkload, operator.IPPoolAllowedUseTunnel},
DisableNewAllocations: &false_,
},
},
}),
Expand All @@ -472,13 +473,14 @@ var _ = table.DescribeTable("Test OpenShift IP pool defaulting",
&operator.CalicoNetworkSpec{
IPPools: []operator.IPPool{
{
Name: "default-ipv4-ippool",
CIDR: "10.0.0.0/8",
Encapsulation: "IPIP",
NATOutgoing: "Enabled",
NodeSelector: "all()",
BlockSize: &twentySix,
AllowedUses: []operator.IPPoolAllowedUse{operator.IPPoolAllowedUseWorkload, operator.IPPoolAllowedUseTunnel},
Name: "default-ipv4-ippool",
CIDR: "10.0.0.0/8",
Encapsulation: "IPIP",
NATOutgoing: "Enabled",
NodeSelector: "all()",
BlockSize: &twentySix,
AllowedUses: []operator.IPPoolAllowedUse{operator.IPPoolAllowedUseWorkload, operator.IPPoolAllowedUseTunnel},
DisableNewAllocations: &false_,
},
},
}),
Expand Down Expand Up @@ -508,13 +510,14 @@ var _ = table.DescribeTable("Test OpenShift IP pool defaulting",
&operator.CalicoNetworkSpec{
IPPools: []operator.IPPool{
{
Name: "default-ipv4-ippool",
CIDR: "10.0.0.0/24",
Encapsulation: "VXLAN",
NATOutgoing: "Disabled",
NodeSelector: "all()",
BlockSize: &twentySix,
AllowedUses: []operator.IPPoolAllowedUse{operator.IPPoolAllowedUseWorkload, operator.IPPoolAllowedUseTunnel},
Name: "default-ipv4-ippool",
CIDR: "10.0.0.0/24",
Encapsulation: "VXLAN",
NATOutgoing: "Disabled",
NodeSelector: "all()",
BlockSize: &twentySix,
AllowedUses: []operator.IPPoolAllowedUse{operator.IPPoolAllowedUseWorkload, operator.IPPoolAllowedUseTunnel},
DisableNewAllocations: &false_,
},
},
}),
Expand Down

0 comments on commit 1d40e30

Please sign in to comment.