36
36
egressStatus string
37
37
multicastStatus string
38
38
cleanupStaleUDPSvcConntrackStatus string
39
+ serviceExternalIPStatus string
39
40
)
40
41
41
42
func Test_getGatesResponse (t * testing.T ) {
@@ -75,7 +76,7 @@ func Test_getGatesResponse(t *testing.T) {
75
76
{Component : "agent" , Name : "NodePortLocal" , Status : "Enabled" , Version : "GA" },
76
77
{Component : "agent" , Name : "PacketCapture" , Status : "Disabled" , Version : "ALPHA" },
77
78
{Component : "agent" , Name : "SecondaryNetwork" , Status : "Disabled" , Version : "ALPHA" },
78
- {Component : "agent" , Name : "ServiceExternalIP" , Status : "Disabled" , Version : "ALPHA " },
79
+ {Component : "agent" , Name : "ServiceExternalIP" , Status : serviceExternalIPStatus , Version : "BETA " },
79
80
{Component : "agent" , Name : "ServiceTrafficDistribution" , Status : "Enabled" , Version : "BETA" },
80
81
{Component : "agent" , Name : "SupportBundleCollection" , Status : "Disabled" , Version : "ALPHA" },
81
82
{Component : "agent" , Name : "TopologyAwareHints" , Status : "Enabled" , Version : "BETA" },
@@ -207,7 +208,7 @@ func Test_getControllerGatesResponse(t *testing.T) {
207
208
{Component : "controller" , Name : "Multicluster" , Status : "Disabled" , Version : "ALPHA" },
208
209
{Component : "controller" , Name : "NetworkPolicyStats" , Status : "Enabled" , Version : "BETA" },
209
210
{Component : "controller" , Name : "NodeIPAM" , Status : "Enabled" , Version : "BETA" },
210
- {Component : "controller" , Name : "ServiceExternalIP" , Status : "Disabled" , Version : "ALPHA " },
211
+ {Component : "controller" , Name : "ServiceExternalIP" , Status : serviceExternalIPStatus , Version : "BETA " },
211
212
{Component : "controller" , Name : "SupportBundleCollection" , Status : "Disabled" , Version : "ALPHA" },
212
213
{Component : "controller" , Name : "Traceflow" , Status : "Enabled" , Version : "BETA" },
213
214
},
@@ -225,9 +226,11 @@ func init() {
225
226
egressStatus = "Enabled"
226
227
multicastStatus = "Enabled"
227
228
cleanupStaleUDPSvcConntrackStatus = "Enabled"
229
+ serviceExternalIPStatus = "Enabled"
228
230
if runtime .IsWindowsPlatform () {
229
231
egressStatus = "Disabled"
230
232
multicastStatus = "Disabled"
231
233
cleanupStaleUDPSvcConntrackStatus = "Disabled"
234
+ serviceExternalIPStatus = "Disabled"
232
235
}
233
236
}
0 commit comments