Skip to content

Commit 74b1480

Browse files
authored
Merge pull request #32793 from TheSamDickey/patch-1
Update ingress-v1 rules.http.paths.pathType values
2 parents 9169cc8 + 1be2b6e commit 74b1480

File tree

1 file changed

+4
-2
lines changed
  • content/en/docs/reference/kubernetes-api/service-resources

1 file changed

+4
-2
lines changed

content/en/docs/reference/kubernetes-api/service-resources/ingress-v1.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,16 @@ IngressSpec describes the Ingress the user wishes to exist.
109109

110110
- **rules.http.paths.pathType** (string), required
111111

112-
PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is
112+
PathType determines the interpretation of the Path matching. PathType can be one of the following enum values:
113+
- `"Exact"` Matches the URL path exactly.
114+
- `"Prefix"` Matches based on a URL path prefix split by '/'. Matching is
113115
done on a path element by element basis. A path element refers is the
114116
list of labels in the path split by the '/' separator. A request is a
115117
match for path p if every p is an element-wise prefix of p of the
116118
request path. Note that if the last element of the path is a substring
117119
of the last element in request path, it is not a match (e.g. /foo/bar
118120
matches /foo/bar/baz, but does not match /foo/barbaz).
119-
* ImplementationSpecific: Interpretation of the Path matching is up to
121+
- `"ImplementationSpecific"` Interpretation of the Path matching is up to
120122
the IngressClass. Implementations can treat this as a separate PathType
121123
or treat it identically to Prefix or Exact path types.
122124
Implementations are required to support all path types.

0 commit comments

Comments
 (0)