Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
e307879
Improve some ListenetSet gep descriptions (#3978)
rikatz Sep 4, 2025
d57b9d6
Allow preprepared CoreDNS image to be used (#3906)
aaronjwood Sep 8, 2025
5452771
Update index.md field after moving BackendTLS struct (#4041)
kl52752 Sep 10, 2025
d514956
concepts/tooling.md: Add Headlamp tool (#4083)
illume Sep 12, 2025
f98df98
Issue 3940: Move BackendTLSPolicy to standard (#4074)
candita Sep 15, 2025
69d4c32
Add allowOrigins configuration to CORSAllowCredentialsBehavior and pe…
snorwin Sep 16, 2025
6bc7c6a
Fix CEL validation on gateway spec addresses (#4084)
bjee19 Sep 16, 2025
128781d
fix including yaml filepath (#4091)
4n86rakam1 Sep 17, 2025
6af8dc8
Update OWNERS_ALIASES for gateway-api teams (#4093)
shaneutt Sep 17, 2025
70897aa
Automate GEP TOC generation and validate (#4075)
rikatz Sep 17, 2025
3b88703
docs: add the v1.4 CHANGELOG
shaneutt Sep 15, 2025
49be22b
chore: bump bundle version to v1.4.0-rc.1
shaneutt Sep 17, 2025
a1d1393
chore: run generators
shaneutt Sep 17, 2025
9b7e906
build(deps): bump the k8s-io group with 5 updates (#4085)
dependabot[bot] Sep 18, 2025
d20e924
build(deps): bump sigs.k8s.io/controller-runtime from 0.21.0 to 0.22.…
dependabot[bot] Sep 18, 2025
4f85200
conformance: fix per-test cleanup (#4104)
howardjohn Sep 19, 2025
dbb2369
Update GEP template with some clarifying sections (#4073)
rikatz Sep 19, 2025
24ded58
[release-1.4] Removing experimental annotation from SupportedFeatures…
k8s-infra-cherrypick-robot Sep 23, 2025
6c63e00
[release-1.4] fix: use inferred supported features to set extendedSup…
k8s-infra-cherrypick-robot Sep 23, 2025
e8a5a5f
[release-1.4] conformance: fix invalid BackendTLSPolicy conformance t…
k8s-infra-cherrypick-robot Sep 24, 2025
e6d8b77
[release-1.4] Added flag for running mesh conformance suite and autom…
k8s-infra-cherrypick-robot Sep 26, 2025
6bf85f7
build(deps): bump mkdocs-mermaid2-plugin in /hack/mkdocs/image (#4125)
k8s-infra-cherrypick-robot Sep 26, 2025
f79fdce
build(deps): bump google.golang.org/grpc from 1.75.0 to 1.75.1 (#4127)
k8s-infra-cherrypick-robot Sep 26, 2025
56676e4
build(deps): bump mkdocs-material in /hack/mkdocs/image (#4128)
k8s-infra-cherrypick-robot Sep 26, 2025
7d5296d
build(deps): update markdown requirement in /hack/mkdocs/image (#4126)
k8s-infra-cherrypick-robot Sep 26, 2025
b77cb37
build(deps): bump sigs.k8s.io/controller-tools from 0.18.0 to 0.19.0 …
k8s-infra-cherrypick-robot Sep 26, 2025
e01e10e
Merge remote-tracking branch 'upstream/main' into release-1.4
shaneutt Sep 26, 2025
92bbdff
v1.4.0-rc.2 (#4130)
shaneutt Sep 26, 2025
b37953e
conformance: make backend TLS tests IPv6-safe (#4121)
k8s-infra-cherrypick-robot Oct 1, 2025
5562f64
chore: update consts.go for v1.4.0
shaneutt Oct 6, 2025
7518633
chore: run generators
shaneutt Oct 6, 2025
f52fdcf
docs: bump main guide for v1.4.0 release
shaneutt Oct 6, 2025
99f3a0f
docs: bump README.md for v1.4.0 release
shaneutt Oct 6, 2025
5e5891a
docs: update nav for v1.4.0
shaneutt Oct 6, 2025
07e49fa
Fix incorrect Kubebuilder validation markers
KillianGolds Oct 15, 2025
e74d346
Restore port validation by defining PortNumber types in v1alpha1
KillianGolds Oct 15, 2025
27fe3bd
Merge branch 'kubernetes-sigs:main' into fix-validation-markers-relea…
KillianGolds Oct 16, 2025
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
15 changes: 14 additions & 1 deletion apisx/v1alpha1/shared_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ type (
Hostname = v1.Hostname
Kind = v1.Kind
ObjectName = v1.ObjectName
PortNumber = v1.PortNumber
ProtocolType = v1.ProtocolType
RouteGroupKind = v1.RouteGroupKind
SectionName = v1.SectionName
Expand All @@ -38,6 +37,20 @@ type (
SessionPersistence = v1.SessionPersistence
)

// PortNumber defines a network port.
//
// +kubebuilder:validation:Minimum=0
// +kubebuilder:validation:Maximum=65535
type PortNumber int32

// StatusPortNumber defines a network port in status fields.
// Unlike PortNumber, this does not allow 0 since status fields
// reflect actual assigned ports.
//
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Maximum=65535
type StatusPortNumber int32

// ParentGatewayReference identifies an API object including its namespace,
// defaulting to Gateway.
type ParentGatewayReference struct {
Expand Down
7 changes: 1 addition & 6 deletions apisx/v1alpha1/xlistenerset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,6 @@ type ListenerEntry struct {
// +optional
//
// +kubebuilder:default=0
// +kubebuilder:validation:Minimum=0
// +kubebuilder:validation:Maximum=65535
Comment thread
KillianGolds marked this conversation as resolved.
Comment thread
KillianGolds marked this conversation as resolved.
Port PortNumber `json:"port,omitempty"`

// Protocol specifies the network protocol this listener expects to receive.
Expand Down Expand Up @@ -253,11 +251,8 @@ type ListenerEntryStatus struct {

// Port is the network port the listener is configured to listen on.
//
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Maximum=65535
//
// +required
Port PortNumber `json:"port"`
Port StatusPortNumber `json:"port"`

// SupportedKinds is the list indicating the Kinds supported by this
// listener. This MUST represent the kinds an implementation supports for
Expand Down
5 changes: 3 additions & 2 deletions applyconfiguration/apisx/v1alpha1/listenerentry.go

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

5 changes: 3 additions & 2 deletions applyconfiguration/apisx/v1alpha1/listenerentrystatus.go

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

7 changes: 7 additions & 0 deletions hack/update-clientset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,10 @@ go run sigs.k8s.io/controller-tools/cmd/controller-gen \
object:headerFile=${SCRIPT_ROOT}/hack/boilerplate/boilerplate.generatego.txt \
paths="./apis/..." \
paths="./apisx/..."

echo "Validating CRD markers"
go run sigs.k8s.io/controller-tools/cmd/controller-gen \
crd:headerFile=${SCRIPT_ROOT}/hack/boilerplate/boilerplate.generatego.txt \
paths="./apis/..." \
paths="./apisx/..." \
output:crd:dir=/tmp/gateway-api-crd-validation