Skip to content

Commit

Permalink
sync: update external libs (#923)
Browse files Browse the repository at this point in the history
Co-authored-by: kononovn <[email protected]>
  • Loading branch information
github-actions[bot] and kononovn authored Feb 6, 2025
1 parent ac57f56 commit 1711827
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const (

// The following constants define the different reasons that conditions will be set for
const (
Initialized ClusterInstanceConditionReason = "Initialized"
Completed ClusterInstanceConditionReason = "Completed"
Failed ClusterInstanceConditionReason = "Failed"
TimedOut ClusterInstanceConditionReason = "TimedOut"
Expand Down
23 changes: 21 additions & 2 deletions pkg/schemes/siteconfig/v1alpha1/clusterinstance_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -494,11 +494,30 @@ type ReinstallHistory struct {

// ReinstallStatus represents the current state and historical details of reinstall operations for a ClusterInstance.
type ReinstallStatus struct {

// List of conditions pertaining to reinstall requests.
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`

// InProgressGeneration is the generation of the ClusterInstance that is being processed for reinstallation.
// It corresponds to the Generation field in ReinstallSpec and indicates the latest reinstall request that
// the controller is acting upon.
// +optional
InProgressGeneration string `json:"inProgressGeneration,omitempty"`

// ObservedGeneration is the generation of the ClusterInstance that has been processed for reinstallation.
// It corresponds to the Generation field in ReinstallSpec and indicates the latest reinstall request that
// the controller has acted upon.
// +required
ObservedGeneration string `json:"observedGeneration"`
// +optionsl
ObservedGeneration string `json:"observedGeneration,omitempty"`

// RequestStartTime indicates the time at which SiteConfig was requested to reinstall.
// +optional
RequestStartTime metav1.Time `json:"requestStartTime,omitempty"`

// RequestEndTime indicates the time at which SiteConfig completed processing the reinstall request.
// +optional
RequestEndTime metav1.Time `json:"requestEndTime,omitempty"`

// History maintains a record of all previous reinstallation attempts.
// Each entry captures details such as the generation, timestamp, and the differences in the ClusterInstance
Expand Down
9 changes: 9 additions & 0 deletions pkg/schemes/siteconfig/v1alpha1/zz_generated.deepcopy.go

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

0 comments on commit 1711827

Please sign in to comment.