Skip to content

Commit faf8fd0

Browse files
committed
update
Signed-off-by: zirain <[email protected]>
1 parent c9e73ca commit faf8fd0

File tree

7 files changed

+31
-30
lines changed

7 files changed

+31
-30
lines changed

site/content/en/latest/api/gateway_api/backendtlspolicy.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,12 @@ Status defines the observed state of the BackendTLSPolicy and is not user-config
159159
way you do for other Gateway API objects to verify correct operation. Note that the status in BackendTLSPolicy
160160
uses `PolicyAncestorStatus` to allow you to know which parentReference set that particular status.
161161

162-
[backendtlspolicy]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1alpha3.BackendTLSPolicy
163-
[validation]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1alpha3.BackendTLSPolicy.Validation
164-
[caCertificateRefs]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1alpha3.BackendTLSPolicyValidation.CACertificateRefs
165-
[wellKnownCACertificates]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1alpha3.BackendTLSPolicyValidation.WellKnownCACertificates
166-
[hostname]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.PreciseHostname
162+
[backendtlspolicy]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#backendtlspolicy
163+
[validation]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#backendtlspolicyvalidation
164+
[caCertificateRefs]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#localobjectreference
165+
[wellKnownCACertificates]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#localobjectreference
166+
[hostname]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#precisehostname
167167
[rfc-3986]: https://tools.ietf.org/html/rfc3986
168-
[targetRefs]: https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io/v1alpha2.PolicyTargetReference
169-
[subjectAltNames]: https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io/v1alpha3.BackendTLSPolicyValidation
170-
[options]: https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io/v1alpha3.GatewayTLSConfig
168+
[targetRefs]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#localpolicytargetreferencewithsectionname
169+
[subjectAltNames]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#subjectaltname
170+
[options]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#backendtlspolicyspec

site/content/en/latest/api/gateway_api/gatewayclass.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,5 +142,5 @@ example.net/gateway/v2.1 // Use version 2.1
142142
example.net/gateway // Use the default version
143143
```
144144

145-
[gatewayclass]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.GatewayClass
145+
[gatewayclass]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#gatewayclass
146146
[ingress-class-api]: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-class

site/content/en/latest/api/gateway_api/grpcroute.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -362,12 +362,12 @@ Multiple GRPCRoutes can be attached to a single Gateway resource. Importantly,
362362
only one Route rule may match each request. For more information on how conflict
363363
resolution applies to merging, refer to the [API specification][grpcrouterule].
364364

365-
[grpcroute]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.GRPCRoute
366-
[grpcrouterule]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.GRPCRouteRule
367-
[hostname]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.Hostname
365+
[grpcroute]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#grpcroute
366+
[grpcrouterule]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#grpcrouterule
367+
[hostname]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#hostname
368368
[rfc-3986]: https://tools.ietf.org/html/rfc3986
369-
[matches]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.GRPCRouteMatch
370-
[filters]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.GRPCRouteFilter
371-
[backendRef]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.GRPCBackendRef
372-
[parentRef]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.ParentRef
373-
[name]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.SectionName
369+
[matches]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#grpcroutematch
370+
[filters]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#grpcroutefilter
371+
[backendRef]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#grpcbackendref
372+
[parentRef]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#parentreference
373+
[name]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#sectionname

site/content/en/latest/api/gateway_api/httproute.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -464,14 +464,14 @@ only one Route rule may match each request. For more information on how conflict
464464
resolution applies to merging, refer to the [API specification][httprouterule].
465465

466466

467-
[httproute]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.HTTPRoute
468-
[httprouterule]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.HTTPRouteRule
469-
[hostname]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.Hostname
467+
[httproute]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#httproute
468+
[httprouterule]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#httprouterule
469+
[hostname]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#hostname
470470
[rfc-3986]: https://tools.ietf.org/html/rfc3986
471-
[matches]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.HTTPRouteMatch
472-
[filters]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.HTTPRouteFilter
473-
[backendRef]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.HTTPBackendRef
474-
[parentRef]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.ParentRef
475-
[timeouts]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.HTTPRouteTimeouts
471+
[matches]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#httproutematch
472+
[filters]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#httproutefilter
473+
[backendRef]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#httpbackendref
474+
[parentRef]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#parentreference
475+
[timeouts]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#httproutetimeouts
476476
[appProtocol]: https://kubernetes.io/docs/concepts/services-networking/service/#application-protocol
477-
[sectionName]: https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.SectionName
477+
[sectionName]: https://gateway-api.sigs.k8s.io/reference/1.4/spec/#sectionname

site/content/en/latest/api/gateway_api/referencegrant.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ While the API is simplistic in nature, it comes with a few notable decisions:
9090
other. This makes it impossible for them to conflict with each other.
9191
9292
Please see the [API
93-
Specification](https://gateway-api.sigs.k8s.io/reference/spec#gateway.networking.k8s.io/v1alpha2.ReferenceGrant)
93+
Specification](https://gateway-api.sigs.k8s.io/reference/spec#referencegrant)
9494
for more details on how specific ReferenceGrant fields are interpreted.
9595
9696
## Implementation Guidelines

tools/make/docs.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ gwapi-doc-remove-special-lines:
140140
# Update relative links
141141
gwapi-doc-update-relative-links:
142142
@$(LOG_TARGET)
143-
# Replace ../reference/spec.md to https://gateway-api.sigs.k8s.io/reference/spec/
143+
# Replace ../reference/spec.md to https://gateway-api.sigs.k8s.io/reference/$(GATEWAY_API_MINOR_VERSION)/spec/
144144
@$(foreach file, $(SYNC_FILES), \
145-
$(SED) -e 's/\(\[.*\]\)(\(\.\.\/reference\/spec.md\))/\1(https:\/\/gateway-api.sigs.k8s.io\/reference\/spec\/)/g' -e 's/\(\[.*\]: \)\(\/reference\/spec.md\)/\1https:\/\/gateway-api.sigs.k8s.io\/reference\/spec\//g' -e 's/\(\[.*\]: \)\(\.\.\/reference\/spec.md\)/\1https:\/\/gateway-api.sigs.k8s.io\/reference\/spec\//g' $(DOC_DEST_DIR)/$(file);)
145+
$(SED) -e 's/\(\[.*\]\)(\(\.\.\/reference\/spec.md\))/\1(https:\/\/gateway-api.sigs.k8s.io\/reference\/$(GATEWAY_API_MINOR_VERSION)\/spec\/)/g' -e 's/\(\[.*\]: \)\(\/reference\/spec.md\)/\1https:\/\/gateway-api.sigs.k8s.io\/reference\/$(GATEWAY_API_MINOR_VERSION)\/spec\//g' -e 's/\(\[.*\]: \)\(\.\.\/reference\/spec.md\)/\1https:\/\/gateway-api.sigs.k8s.io\/reference\/$(GATEWAY_API_MINOR_VERSION)\/spec\//g' $(DOC_DEST_DIR)/$(file);)
146146
@$(foreach file, $(SYNC_FILES), \
147147
$(SED) -e 's/\(\.*\]\)(\(\.\.\/[^:]*\))/\1(https:\/\/gateway-api.sigs.k8s.io\2)/g' -e 's/\(\[.*\]: \)\(\/[^:]*\)/\1https:\/\/gateway-api.sigs.k8s.io\2/g' -e 's/\(\[.*\]: \)\(\.\.\/[^:]*\)/\1https:\/\/gateway-api.sigs.k8s.io\2/g' $(DOC_DEST_DIR)/$(file);)
148148
@$(foreach file, $(SYNC_FILES), \

tools/make/kube.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ ENVTEST_K8S_VERSIONS ?= 1.30.3 1.31.0 1.32.0 1.33.0
88

99
# GATEWAY_API_VERSION refers to the version of Gateway API CRDs.
1010
# For more details, see https://gateway-api.sigs.k8s.io/guides/getting-started/#installing-gateway-api
11-
GATEWAY_API_VERSION ?= v1.4.0
11+
GATEWAY_API_MINOR_VERSION ?= 1.4
12+
GATEWAY_API_VERSION ?= v$(GATEWAY_API_MINOR_VERSION).0
1213

1314
GATEWAY_API_RELEASE_URL ?= https://github.com/kubernetes-sigs/gateway-api/releases/download/${GATEWAY_API_VERSION}
1415
EXPERIMENTAL_GATEWAY_API_RELEASE_URL ?= ${GATEWAY_API_RELEASE_URL}/experimental-install.yaml

0 commit comments

Comments
 (0)