Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions config/crd/rollout/rollout.kusionstack.io_rolloutruns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4701,7 +4701,6 @@ spec:
description: UpdatedRevision is the updated template revision used to generate pods.
type: string
required:
- availableReplicas
- replicas
- updatedAvailableReplicas
- updatedReadyReplicas
Expand All @@ -4719,6 +4718,10 @@ spec:
description: Failure count
format: int32
type: integer
finishTime:
description: FinishTime is the time when the hook finished
format: date-time
type: string
hookType:
description: Webhook Type
type: string
Expand All @@ -4731,6 +4734,10 @@ spec:
reason:
description: A human-readable short word
type: string
startTime:
description: StartTime is the time when the hook started
format: date-time
type: string
state:
description: Current webhook worker state
type: string
Expand Down Expand Up @@ -4804,7 +4811,6 @@ spec:
description: UpdatedRevision is the updated template revision used to generate pods.
type: string
required:
- availableReplicas
- replicas
- updatedAvailableReplicas
- updatedReadyReplicas
Expand All @@ -4822,6 +4828,10 @@ spec:
description: Failure count
format: int32
type: integer
finishTime:
description: FinishTime is the time when the hook finished
format: date-time
type: string
hookType:
description: Webhook Type
type: string
Expand All @@ -4834,6 +4844,10 @@ spec:
reason:
description: A human-readable short word
type: string
startTime:
description: StartTime is the time when the hook started
format: date-time
type: string
state:
description: Current webhook worker state
type: string
Expand Down Expand Up @@ -4943,7 +4957,6 @@ spec:
description: UpdatedRevision is the updated template revision used to generate pods.
type: string
required:
- availableReplicas
- replicas
- updatedAvailableReplicas
- updatedReadyReplicas
Expand Down
18 changes: 18 additions & 0 deletions config/crd/rollout/rollout.kusionstack.io_scaleruns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,11 @@ spec:
description: Failure count
format: int32
type: integer
finishTime:
description: FinishTime is the time when the hook
finished
format: date-time
type: string
hookType:
description: Webhook Type
type: string
Expand All @@ -367,6 +372,10 @@ spec:
reason:
description: A human-readable short word
type: string
startTime:
description: StartTime is the time when the hook started
format: date-time
type: string
state:
description: Current webhook worker state
type: string
Expand Down Expand Up @@ -524,6 +533,11 @@ spec:
description: Failure count
format: int32
type: integer
finishTime:
description: FinishTime is the time when the hook
finished
format: date-time
type: string
hookType:
description: Webhook Type
type: string
Expand All @@ -537,6 +551,10 @@ spec:
reason:
description: A human-readable short word
type: string
startTime:
description: StartTime is the time when the hook started
format: date-time
type: string
state:
description: Current webhook worker state
type: string
Expand Down
1 change: 1 addition & 0 deletions rollout/v1alpha1/rollout_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ type RolloutReplicasSummary struct {
// Replicas is the desired number of pods targeted by workload
Replicas int32 `json:"replicas"`
// AvailableReplicas is the number of service available pods targeted by workload.
// +optional
AvailableReplicas int32 `json:"availableReplicas"`
// UpdatedReplicas is the number of pods targeted by workload that have the updated template spec.
UpdatedReplicas int32 `json:"updatedReplicas"`
Expand Down
6 changes: 6 additions & 0 deletions rollout/v1alpha1/rolloutrun_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,12 @@ type RolloutWebhookStatus struct {
HookType HookType `json:"hookType,omitempty"`
// Webhook Name
Name string `json:"name,omitempty"`
// StartTime is the time when the hook started
// +optional
StartTime *metav1.Time `json:"startTime,omitempty"`
// FinishTime is the time when the hook finished
// +optional
FinishTime *metav1.Time `json:"finishTime,omitempty"`
// Webhook result
CodeReasonMessage `json:",inline"`
// Failure count
Expand Down
16 changes: 14 additions & 2 deletions rollout/v1alpha1/zz_generated.deepcopy.go

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

Loading