linkerd2
linkerd2 copied to clipboard
crds(feat): add gateway `grpcroute` crd
Subject
Problem
In order to support driving traffic via Gateway GRPCRoute
resources, the requisite CRD needs to be added to the linkerd-crds.
Solution
- [X] Mirror the same feature gating used for
HTTPRoute
- [X] Add the
GRPCRoute
CRD to thelinkerd-crds
templates - [ ] ~~Use helm's
lookup
function to ensure that installation oflinkerd-crds
does not fail due to pre-existing installation of Gateway API CRDs or cause pre-existing Gateway API CRDs to be "absorbed" into alinkerd-crds
installation~~
Validation
- [X]
helm install
works as expected - [X]
helm upgrade
works as expected - [X] ensure
bin/linkerd install --crds --set enableGrpcRoutes=true
outputs the grpcroute CRD manifest - [X]
ensure bin/linkerd install --crds --set endableGrpcRoutes=true | kubectl apply -f -
correctly installs the grpcroute CRD onto the cluster - [X] run
go test ./... --update
to automatically update any test fixtures that need to be updated - [X] ensure
go test ./...
passes
Screenshots
~~Fixes~~ Partially Addresses
- #12404