Skip to content

Commit 8278a85

Browse files
authored
Merge pull request #1493 from k8s-infra-cherrypick-robot/cherry-pick-1489-to-release-0.7
[release-0.7] 🐛 Switch to "4" instead of "ipip" for rules
2 parents c61ea15 + 7b1ce26 commit 8278a85

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/cloud/services/networking/securitygroups_rules.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,14 @@ func getSGControlPlaneCalico(remoteGroupIDSelf, secWorkerGroupID string) []infra
101101
Description: "IP-in-IP (calico)",
102102
Direction: "ingress",
103103
EtherType: "IPv4",
104-
Protocol: "ipip",
104+
Protocol: "4",
105105
RemoteGroupID: remoteGroupIDSelf,
106106
},
107107
{
108108
Description: "IP-in-IP (calico)",
109109
Direction: "ingress",
110110
EtherType: "IPv4",
111-
Protocol: "ipip",
111+
Protocol: "4",
112112
RemoteGroupID: secWorkerGroupID,
113113
},
114114
}
@@ -164,14 +164,14 @@ func getSGWorkerCalico(remoteGroupIDSelf, secControlPlaneGroupID string) []infra
164164
Description: "IP-in-IP (calico)",
165165
Direction: "ingress",
166166
EtherType: "IPv4",
167-
Protocol: "ipip",
167+
Protocol: "4",
168168
RemoteGroupID: remoteGroupIDSelf,
169169
},
170170
{
171171
Description: "IP-in-IP (calico)",
172172
Direction: "ingress",
173173
EtherType: "IPv4",
174-
Protocol: "ipip",
174+
Protocol: "4",
175175
RemoteGroupID: secControlPlaneGroupID,
176176
},
177177
}

0 commit comments

Comments
 (0)