Repository navigation
v0.41.0
Tenant upstreams now refuse internal, reserved and cluster-local addresses and names, and load balancer policies can no longer silently replace a load balancer's health checks.
What's new
- Tenant upstreams refuse internal destinations. Backends, HTTPProxy endpoints, SecurityPolicy OIDC and JWKS URLs, and tenant EndpointSlices are refused when they name an internal, reserved or cluster-local address or host name. The operator config gains the optional
gateway.permittedInternalUpstreamHostSuffixeslist for deployments that need in-cluster origins. (#956, #957) - Health checks can't be displaced by a route policy. A policy attached to a load balancer's own route is refused with a pointer to the Gateway, and one attached before this release turns the load balancer's status to not applied with
BackendSettingsNotApplied. (#953) - Shard leases read from the API server. The sharding coordinator and peer registry renew leases from a live read instead of the informer cache, so a busy manager no longer drops projects on a stale-copy conflict. (#952)
- New networks get DNS with IPAM addresses on. The gateway replicator now checks a network's DNS settings against the right project, so networks created after IPAM mode is turned on get internal DNS. (#944)
- Diagnosis reads hostname DNS records. The load balancer diagnosis reports present records as done, names a missing customer record as the next step, and shows a Datum record as in progress, then stalled. (#945)
- Basic auth on a single rule shows as on. The load balancer description, auth listing and assistant lookup list every basic auth policy with the rules it guards and whether the edge accepted it. (#946)
Note
No CRD schema changes. Existing resources keep working without any conversion. HTTPProxy gains the BackendSettingsNotApplied condition reason, and the auth listing now prints a table instead of bare usernames.
Warning
Objects already stored are not re-checked until they are next edited, so an existing upstream that the new rules refuse keeps working until someone changes it. Routes whose endpoint slices hold internal addresses lose those endpoints at the next reconcile after the upgrade.
Changelog
- 69fd0f3 Merge pull request #944 from datum-cloud/fix/replicator-dns-verify-project
- ba45583 Merge pull request #945 from datum-cloud/fix/938
- 51ee665 Merge pull request #946 from datum-cloud/fix/936
- 4c85058 Merge pull request #952 from datum-cloud/nso-774/15-build
- bec4b94 Merge pull request #953 from datum-cloud/fix/880
- 3ddbf3e Merge pull request #956 from datum-cloud/fix/954-refuse-internal-upstreams
- 7f05c4e Merge pull request #957 from datum-cloud/fix/10327-tenant-endpointslices
- fbe061f fix(agent): Read hostname DNS records in the diagnosis
- 11b69f6 fix(alb): Report basic auth on any rule
- c96611e fix(alb): Report unreadable basic auth state
- 21cf328 fix(internal-dns): Pass the project to DNS checks in the gateway replicator
- 5ce1f22 fix: Check labelled endpoint slices too
- 8575f82 fix: Let a missing Datum DNS record stall
- b2fbb91 fix: Permit in-cluster origins in dev config
- 615ebda fix: Read shard leases from the API server
- 5a8f576 fix: Refuse internal addresses in tenant upstreams
- fdffd76 fix: Refuse one backend on interface lookup error
- 92c79bb fix: Refuse policies on load balancer routes
- 5c74014 fix: Refuse reserved ranges in tenant upstreams
- d759fb1 fix: Report displaced health check settings
- 5be25f0 fix: Validate tenant-supplied endpoints
- 588eee2 fix: Vouch only for Bound interfaces' addresses
- f2dd1e2 test(agent): Drop comments from DNS record tests
- e8f0b8f test(internal-dns): Check the replicator asks IPAM for the right project