Adds Gateway API feature gate check to certificate suite conformance test

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
This commit is contained in:
joshvanl 2022-02-14 12:41:09 +00:00
parent d3052a81e4
commit 566582956a

View File

@ -786,6 +786,8 @@ func (s *Suite) Define() {
})
s.it(f, "Creating a Gateway with annotations for issuerRef and other Certificate fields", func(issuerRef cmmeta.ObjectReference) {
framework.RequireFeatureGate(f, utilfeature.DefaultFeatureGate, feature.ExperimentalGatewayAPISupport)
name := "testcert-gateway"
secretName := "testcert-gateway-tls"
domain := e2eutil.RandomSubdomain(s.DomainSuffix)