generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 492
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move GEP-995 to Experimental Signed-off-by: Guilherme Cassolato <[email protected]> * docs: Fix the description of the format for the name field of route rules Signed-off-by: Guilherme Cassolato <[email protected]> * docs: Route Rule name field Signed-off-by: Guilherme Cassolato <[email protected]> --------- Signed-off-by: Guilherme Cassolato <[email protected]>
- Loading branch information
1 parent
3b7ca06
commit 076d830
Showing
5 changed files
with
67 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
apiVersion: gateway.networking.k8s.io/v1 | ||
kind: HTTPRoute | ||
metadata: | ||
name: example-route | ||
spec: | ||
parentRefs: | ||
- name: example-gateway | ||
rules: | ||
- name: read-only | ||
matches: | ||
- method: GET | ||
backendRefs: | ||
- name: backend-mirror-svc | ||
port: 8080 | ||
- name: write-only | ||
matches: | ||
- method: POST | ||
- method: PATCH | ||
- method: DELETE | ||
backendRefs: | ||
- name: backend-svc | ||
port: 8080 |
This file contains 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
This file contains 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
This file contains 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
This file contains 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