Skip to content

Commit 70e8cb5

Browse files
committed
fix default
1 parent 223c2ac commit 70e8cb5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

apisx/v1alpha1/xlistenerset_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ type ListenerEntry struct {
130130
//
131131
// +optional
132132
//
133-
// +kubebuilder:validation:Default=0
133+
// +kubebuilder:default=0
134134
// +kubebuilder:validation:Minimum=0
135135
// +kubebuilder:validation:Maximum=65535
136136
Port PortNumber `json:"port,omitempty"`

config/crd/experimental/gateway.networking.x-k8s.io_xlistenersets.yaml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)