-
Notifications
You must be signed in to change notification settings - Fork 630
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cloudflare_tunnel_route: read by filtering list
The `GetTunnelRouteForIP` SDK function will return the first route that either exactly matches the specified IP or larger CIDR. If routes exist for both `10.0.0.0/8` and `10.0.0.0/24`, and the latter is accidentally deleted, the SDK function will start returning the former route. This changeset resolves this issue by providing filters to the `ListTunnelRoutes` such that the network subset and superset are both the specific CIDR being managed. The API returns 1 result if there is an exact match, and 0 results otherwise. Bug: K8S-4828
- Loading branch information
1 parent
b6ca7a8
commit f1b3e34
Showing
2 changed files
with
23 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:bug | ||
cloudflare_tunnel_routes: Fix reads matching routers with larger CIDRs | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters