Commit 4bf9d24
committed
sg: allow both ipv4 and ipv6 cidrs to API LB if vpc ipv6 block is defined
When AWSCluster.spec.network.vpc.ipv6 is non-nil, most handlers in CAPA
treats it as "adding" IPv6 capabilities on top of IPv4 infrastructure.
Except security group ingress rules for API LB.
This commit aligns the API LB SG handler with the rest of the code base.
These rules can be overriden in the AWSCluster LB spec to allow only
IPv6 CIDRs if needed.1 parent 0afbb24 commit 4bf9d24
File tree
2 files changed
+47
-29
lines changed- pkg/cloud/services/securitygroup
2 files changed
+47
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
994 | 994 | | |
995 | 995 | | |
996 | 996 | | |
997 | | - | |
998 | | - | |
999 | | - | |
1000 | | - | |
1001 | | - | |
1002 | | - | |
1003 | | - | |
1004 | | - | |
1005 | | - | |
1006 | | - | |
1007 | | - | |
1008 | | - | |
1009 | | - | |
| 997 | + | |
1010 | 998 | | |
1011 | 999 | | |
1012 | 1000 | | |
| |||
1015 | 1003 | | |
1016 | 1004 | | |
1017 | 1005 | | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
1018 | 1016 | | |
1019 | 1017 | | |
1020 | 1018 | | |
1021 | | - | |
1022 | | - | |
1023 | | - | |
1024 | | - | |
1025 | | - | |
1026 | | - | |
1027 | | - | |
1028 | | - | |
1029 | | - | |
1030 | | - | |
1031 | | - | |
1032 | | - | |
1033 | | - | |
| 1019 | + | |
1034 | 1020 | | |
1035 | 1021 | | |
1036 | 1022 | | |
| |||
1039 | 1025 | | |
1040 | 1026 | | |
1041 | 1027 | | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
1042 | 1038 | | |
1043 | 1039 | | |
1044 | 1040 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1607 | 1607 | | |
1608 | 1608 | | |
1609 | 1609 | | |
1610 | | - | |
| 1610 | + | |
1611 | 1611 | | |
1612 | 1612 | | |
1613 | 1613 | | |
| |||
1621 | 1621 | | |
1622 | 1622 | | |
1623 | 1623 | | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
1624 | 1631 | | |
1625 | 1632 | | |
1626 | 1633 | | |
| |||
1748 | 1755 | | |
1749 | 1756 | | |
1750 | 1757 | | |
| 1758 | + | |
1751 | 1759 | | |
1752 | | - | |
| 1760 | + | |
1753 | 1761 | | |
1754 | 1762 | | |
1755 | 1763 | | |
1756 | 1764 | | |
1757 | 1765 | | |
1758 | 1766 | | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
1759 | 1774 | | |
1760 | 1775 | | |
1761 | 1776 | | |
1762 | 1777 | | |
1763 | 1778 | | |
1764 | | - | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
1765 | 1787 | | |
1766 | 1788 | | |
1767 | 1789 | | |
| |||
0 commit comments