Skip to content

Commit

Permalink
fix: inconsistent default reason for GatewayClass status (#3225) (#3257)
Browse files Browse the repository at this point in the history
Signed-off-by: Norwin Schnyder <norwin.schnyder+github@gmail.com>
  • Loading branch information
snorwin committed Aug 10, 2024
1 parent 6efb4e3 commit 7d18626
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apis/v1/gatewayclass_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ type GatewayClass struct {
// Implementations MUST populate status on all GatewayClass resources which
// specify their controller name.
//
// +kubebuilder:default={conditions: {{type: "Accepted", status: "Unknown", message: "Waiting for controller", reason: "Waiting", lastTransitionTime: "1970-01-01T00:00:00Z"}}}
// +kubebuilder:default={conditions: {{type: "Accepted", status: "Unknown", message: "Waiting for controller", reason: "Pending", lastTransitionTime: "1970-01-01T00:00:00Z"}}}
Status GatewayClassStatus `json:"status,omitempty"`
}

Expand Down

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

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

0 comments on commit 7d18626

Please sign in to comment.