linkerd2/controller
Alex Leong 3bd01cac9c
add nil check when reading endpoint hostname (thanks @acallejaszu) (#12689)
Fixes #12686

When an endpoint in an EndpointSlice resource does not contain a hostname field, the destination controller can panic while looking for an endpoint with a certain hostname.  This happens when doing a lookup with a pod dns name.

We add a nil check to avoid the panic.

We add such an endpoint to our test fixture to exercise this case.

Signed-off-by: Alex Leong <alex@buoyant.io>
2024-06-10 10:45:31 -07:00
..
api add nil check when reading endpoint hostname (thanks @acallejaszu) (#12689) 2024-06-10 10:45:31 -07:00
cmd chore(controller): Remove stream concurrency limits (#12598) 2024-05-15 18:07:15 +01:00
gen Restore Server v1beta1 Go API definition (#12529) 2024-05-01 16:16:48 -07:00
heartbeat build(deps): bump linkerd/dev from 39 to 40 (#10825) 2023-05-09 10:57:19 -07:00
identity core: use serviceAccountToken volume for pod authentication (#7117) 2021-11-03 02:03:39 +05:30
k8s Rename meshTls to meshTLS in ExternalWorkload CRD (#12098) 2024-02-20 11:00:13 -08:00
proxy-injector make group ID configurable (#11924) 2024-05-23 15:54:21 -05:00
script Refactor IPv4-only functions to also work for IPv6 (#12303) 2024-03-22 07:20:52 -05:00
sp-validator Use metadata API in the proxy and tap injectors (#9650) 2022-11-16 09:21:39 -05:00
webhook Add ability to configure client-go's `QPS` and `Burst` settings (#11644) 2023-11-28 15:25:05 -05:00
Dockerfile dev: Update Go to v1.22 (#12114) 2024-02-22 09:39:33 -05:00