Repository navigation
cmd/k8s-operator: warn if unsupported Ingress Exact path type is used. - #10865
Merged
Merged
Conversation
To reduce the likelihood of breaking users, if we implement stricter Exact path type matching in the future. Updates #10730 Signed-off-by: Irbe Krumina <[email protected]>
maisem
approved these changes
Jan 16, 2024
Asutorufa
pushed a commit
to Asutorufa/tailscale
that referenced
this pull request
Jan 19, 2024
tailscale#10865) To reduce the likelihood of breaking users, if we implement stricter Exact path type matching in the future. Updates tailscale#10730 Signed-off-by: Irbe Krumina <[email protected]>
chen8945
pushed a commit
to Ckid-Home/tailscale
that referenced
this pull request
Jul 31, 2024
tailscale#10865) To reduce the likelihood of breaking users, if we implement stricter Exact path type matching in the future. Updates tailscale#10730 Signed-off-by: Irbe Krumina <[email protected]>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Kubernetes Ingress spec defines three path types, where path type
Exactis meant to have strict request path matching where, for example, if the defined path is/fooa request for/foo/barwould be rejected (in the ingress controller as I understand).We do not currently check path types and route as per the definition of
Prefixpath type. I am not sure if we need to implementExact, but if a use case arises in the future, it would be good if users didn't depend on the current behaviour forExact- ideally they should usePrefixnow and let us know if they have a use case for the strict matching ofExact.This PR adds a warning if a path with
Exactpath type is found.Updates #10730