Skip to content

Commit

Permalink
fix: inconsistent default reason for GatewayClass status (kubernetes-…
Browse files Browse the repository at this point in the history
…sigs#3225)

Signed-off-by: Norwin Schnyder <norwin.schnyder+github@gmail.com>
  • Loading branch information
snorwin committed Aug 9, 2024
1 parent 0d9ee76 commit df90b06
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 df90b06

Please sign in to comment.