linkerd2/policy-controller
Alex Leong aa3e7d87f4
add status message when attempting to attach to headless service (#12918)
If the `parent_ref` of an HTTPRoute resource is set to a headless service, the policy controller gives the HTTPRoute a status of NoMatchingParent:

```
  - conditions:
    - lastTransitionTime: "2024-07-30T22:52:24Z"
      message: ""
      reason: NoMatchingParent
      status: "False"
      type: Accepted
```

However, this can be misleading because the parent does exist, but is not a valid parent because it does not have a cluster IP.

We make this error easier to understand by adding a message to the status condition in this case:

```
    - lastTransitionTime: "2024-07-30T22:51:29Z"
      message: parent service must have a ClusterIP
      reason: NoMatchingParent
      status: "False"
      type: Accepted
```

Signed-off-by: Alex Leong <alex@buoyant.io>
2024-08-02 10:54:57 -07:00
..
core Add support for retries and timeouts (#12888) 2024-07-26 10:14:21 -07:00
grpc Add support for retries and timeouts (#12888) 2024-07-26 10:14:21 -07:00
k8s add status message when attempting to attach to headless service (#12918) 2024-08-02 10:54:57 -07:00
src Make GrpcRoute watches optional (#12917) 2024-07-31 12:03:50 -07:00
.dockerignore Import the linkerd-policy-controller (#6485) 2021-08-11 12:56:12 -07:00
Cargo.toml build(deps): bump openssl from 0.10.64 to 0.10.66 (#12870) 2024-07-23 16:01:57 +01:00
Dockerfile dev: v43 (#12117) 2024-02-21 13:51:27 -08:00