Closed danehans closed 6 hours ago
Issues linked to changelog: https://github.com/solo-io/gloo/issues/10304
The failing CI test is passing when run locally:
$ go test -v ./projects/gateway2/setup
...
--- PASS: TestScenarios (32.05s)
--- PASS: TestScenarios/failover-default-diffns (1.10s)
--- PASS: TestScenarios/failover-default (1.15s)
--- PASS: TestScenarios/failover (1.13s)
--- PASS: TestScenarios/happypath (1.13s)
--- PASS: TestScenarios/listeneropts (1.06s)
PASS
ok github.com/solo-io/gloo/projects/gateway2/setup 32.117s
Rebasing to try resolving the CI failure.
Description
Fixes #10304
API changes
None
Code changes
CRDs sets.Set[string]
to theGatewayConfig
type.CRDs
defines the set of discovered Gateway API CRDs.addIndexes()
to conditionally add the TCPRoute index based on the presence of thetcproutes.gateway.networking.k8s.io
CRD.watchTcpRoute()
to conditionally watch TCPRoute kinds based on the presence of thetcproutes.gateway.networking.k8s.io
CRD.NewControllerBuilder()
to conditionally add the TCPRoute controller based on the presence of the tcproutes.gateway.networking.k8s.io CRD.requiredCRDsExist
from the NewData type since it's no longer needed (not making an API call to check for the .tcproutes.gateway.networking.k8s.io CRD). Removes all references to this field.CI changes
Updates the scheme used by tests.
Docs changes
N/A
Context
Interesting decisions
Testing steps
Checklist: