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.
Introduce wildcardhostname field to support differences between a wil…
…dcard value and precise value. Update the HTTPRequestRedirectFilter.Hostname to use a Hostname type which validates the value cannot contain wildcard characters. Updates all other references which used Hostnaem to use WildcardHostname which does allow for wildcard characters. Signed-off-by: Steve Sloka <slokas@vmware.com>
- Loading branch information
1 parent
4c34b35
commit 55bb6b6
Showing
11 changed files
with
92 additions
and
56 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
29 changes: 15 additions & 14 deletions
29
config/crd/experimental/gateway.networking.k8s.io_httproutes.yaml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
21 changes: 11 additions & 10 deletions
21
config/crd/experimental/gateway.networking.k8s.io_tlsroutes.yaml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
25 changes: 13 additions & 12 deletions
25
config/crd/stable/gateway.networking.k8s.io_httproutes.yaml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
21 changes: 11 additions & 10 deletions
21
config/crd/stable/gateway.networking.k8s.io_tlsroutes.yaml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
hack/invalid-examples/v1alpha2/httproute/invalid-httredirect-hostname.yaml
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,14 @@ | ||
apiVersion: gateway.networking.k8s.io/v1alpha2 | ||
kind: HTTPRoute | ||
metadata: | ||
name: invalid-backend-port | ||
spec: | ||
rules: | ||
- backendRefs: | ||
- name: my-service | ||
port: 8080 | ||
filters: | ||
- type: RequestRedirect | ||
requestRedirect: | ||
hostname: "*.gateway.networking.k8s.io" | ||
|