You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
name: "vSphere hosts is allowed with Feature Gates enabled",
72
72
installConfig: func() *types.InstallConfig {
73
73
c:=validInstallConfig()
74
-
c.FeatureSet=v1.TechPreviewNoUpgrade
75
-
c.VSphere=validVSpherePlatform()
76
-
c.VSphere.Hosts= []*vsphere.Host{{Role: "test"}}
77
-
returnc
78
-
}(),
79
-
},
80
-
{
81
-
name: "vSphere hosts is not allowed without Feature Gates",
82
-
installConfig: func() *types.InstallConfig {
83
-
c:=validInstallConfig()
74
+
c.FeatureSet=v1.Default
84
75
c.VSphere=validVSpherePlatform()
85
76
c.VSphere.Hosts= []*vsphere.Host{{Role: "test"}}
86
77
returnc
87
78
}(),
88
-
expected: `^platform.vsphere.hosts: Forbidden: this field is protected by the VSphereStaticIPs feature gate which must be enabled through either the TechPreviewNoUpgrade or CustomNoUpgrade feature set$`,
89
79
},
90
80
{
91
81
name: "vSphere hosts is allowed with custom Feature Gates",
0 commit comments