Skip to content

Commit 7d18626

Browse files
authored
fix: inconsistent default reason for GatewayClass status (#3225) (#3257)
Signed-off-by: Norwin Schnyder <[email protected]>
1 parent 6efb4e3 commit 7d18626

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

apis/v1/gatewayclass_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ type GatewayClass struct {
6060
// Implementations MUST populate status on all GatewayClass resources which
6161
// specify their controller name.
6262
//
63-
// +kubebuilder:default={conditions: {{type: "Accepted", status: "Unknown", message: "Waiting for controller", reason: "Waiting", lastTransitionTime: "1970-01-01T00:00:00Z"}}}
63+
// +kubebuilder:default={conditions: {{type: "Accepted", status: "Unknown", message: "Waiting for controller", reason: "Pending", lastTransitionTime: "1970-01-01T00:00:00Z"}}}
6464
Status GatewayClassStatus `json:"status,omitempty"`
6565
}
6666

config/crd/experimental/gateway.networking.k8s.io_gatewayclasses.yaml

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

config/crd/standard/gateway.networking.k8s.io_gatewayclasses.yaml

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

0 commit comments

Comments
 (0)