linkerd2/cli
Zahari Dichev 46b5dcaa8f
fix(cli): check if installGatewayAPI is true before we error during CRD install (#13872)
This PR incorporates a couple of improvements: 
- we honor the fact that `installGatewayAPI` is true and do not error on missing CRDs
- we take into account `enableHTTPRoutes` when we determine whether CRDs are about to be installed
- tests are refactored and extended for greater coverage

The concrete motivation for revisiting that logic is the fact that the guards introduced
in linkerd/linkerd2#3834  missed to check the situation when
we install with `installGatewayAPI=true` and there are no existing CRDs on the cluster.

Signed-off-by: Zahari Dichev <zaharidichev@gmail.com>
2025-04-01 12:10:35 -07:00
..
cmd fix(cli): check if installGatewayAPI is true before we error during CRD install (#13872) 2025-04-01 12:10:35 -07:00
flag
table Add viz stat-inbound and viz stat-outbound commands (#12994) 2024-08-29 12:31:16 -07:00
Dockerfile build(deps): bump linkerd/dev from v43 to v44 (#13428) 2024-12-06 11:38:36 -08:00
main.go Add `gosec` and `errcheck` lints (#7954) 2022-03-03 10:09:51 -07:00