mirror of https://github.com/linkerd/linkerd2.git
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>
|
||
|---|---|---|
| .. | ||
| core | ||
| grpc | ||
| k8s | ||
| src | ||
| .dockerignore | ||
| Cargo.toml | ||
| Dockerfile | ||