Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ verify:
.PHONY: docs
docs:
# Generate API docs first
./hack/api-docs/generate.sh docs-src/spec.md
./hack/api-docs/generate.sh docs-src/spec.html
# The docs image must be built locally until issue #141 is fixed.
docker build --tag k8s.gcr.io/gateway-api-mkdocs:latest -f mkdocs.dockerfile .
$(MAKE) -f docs.mk
Expand Down
8 changes: 4 additions & 4 deletions apis/v1alpha1/gateway_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ type GatewaySpec struct {
// validating webhook.
type Listener struct {
// Hostname specifies the virtual hostname to match for protocol types that
// define this concept. When unspecified, "", or "*", all hostnames are
// define this concept. When unspecified, "", or `*`, all hostnames are
// matched. This field can be omitted for protocols that don't require
// hostname based matching.
//
Expand All @@ -151,8 +151,8 @@ type Listener struct {
//
// Hostname can be "precise" which is a domain name without the terminating
// dot of a network host (e.g. "foo.example.com") or "wildcard", which is a
// domain name prefixed with a single wildcard label (e.g. "*.example.com").
// The wildcard character '*' must appear by itself as the first DNS label
// domain name prefixed with a single wildcard label (e.g. `*.example.com`).
// The wildcard character `*` must appear by itself as the first DNS label
// and matches only a single label.
//
// Support: Core
Expand Down Expand Up @@ -718,7 +718,7 @@ const (

// ListenerReasonHostnameConflict is used when the Listener conflicts with
// hostnames in other Listeners. For example, this reason would be used when
// multiple Listeners on the same port use "*" in the hostname field.
// multiple Listeners on the same port use `*` in the hostname field.
ListenerReasonHostnameConflict ListenerConditionReason = "HostnameConflict"

// ListenerReasonProtocolConflict is used when multiple
Expand Down
6 changes: 3 additions & 3 deletions apis/v1alpha1/httproute_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ type HTTPRouteSpec struct {
//
// Hostname can be "precise" which is a domain name without the terminating
// dot of a network host (e.g. "foo.example.com") or "wildcard", which is
// a domain name prefixed with a single wildcard label (e.g. "*.example.com").
// The wildcard character '*' must appear by itself as the first DNS
// a domain name prefixed with a single wildcard label (e.g. `*.example.com`).
// The wildcard character `*` must appear by itself as the first DNS
// label and matches only a single label.
// You cannot have a wildcard label by itself (e.g. Host == "*").
// You cannot have a wildcard label by itself (e.g. Host == `*`).
// Requests will be matched against the Host field in the following order:
// 1. If Host is precise, the request matches this rule if
// the http host header is equal to Host.
Expand Down
6 changes: 3 additions & 3 deletions apis/v1alpha1/tlsroute_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ type TLSRouteMatch struct {
//
// SNI can be "precise" which is a domain name without the terminating
// dot of a network host (e.g. "foo.example.com") or "wildcard", which is
// a domain name prefixed with a single wildcard label (e.g. "*.example.com").
// The wildcard character '*' must appear by itself as the first DNS label
// a domain name prefixed with a single wildcard label (e.g. `*.example.com`).
// The wildcard character `*` must appear by itself as the first DNS label
// and matches only a single label. You cannot have a wildcard label by
// itself (e.g. Host == "*").
// itself (e.g. Host == `*`).
//
// Requests will be matched against the Host field in the following order:
//
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/networking.x-k8s.io_gateways.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/crd/bases/networking.x-k8s.io_httproutes.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/crd/bases/networking.x-k8s.io_tlsroutes.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading