Skip to content

Commit 60ad7c2

Browse files
committed
docs(hep): rename phase to currentPhase for clarity
Signed-off-by: Zespre Chang <zespre.chang@suse.com>
1 parent f843ec7 commit 60ad7c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

enhancements/20241211-upgrade-enhancement.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ type UpgradePlanStatus struct {
212212
// +optional
213213
NodeUpgradeStatuses map[string]NodeUpgradeStatus `json:"nodeUpgradeStatuses,omitempty"`
214214

215-
// phase shows what overall phase the UpgradePlan resource is in.
216-
Phase UpgradePlanPhase `json:"phase,omitempty"`
215+
// currentPhase shows what overall phase the UpgradePlan resource is in.
216+
CurrentPhase UpgradePlanPhase `json:"currentPhase,omitempty"`
217217

218218
// phaseTransitionTimestamp is the timestamp of when the last phase change occurred.
219219
// +listType=atomic
@@ -237,7 +237,7 @@ type UpgradePlanStatus struct {
237237
// +kubebuilder:subresource:status
238238
// +kubebuilder:resource:scope=Cluster,shortName=up;ups
239239
// +kubebuilder:printcolumn:name="VERSION",type="string",JSONPath=`.spec.version`
240-
// +kubebuilder:printcolumn:name="PHASE",type="string",JSONPath=`.status.phase`
240+
// +kubebuilder:printcolumn:name="CURRENTPHASE",type="string",JSONPath=`.status.currentPhase`
241241
// +kubebuilder:printcolumn:name="AVAILABLE",type=string,JSONPath=`.status.conditions[?(@.type=='Available')].status`
242242
// +kubebuilder:printcolumn:name="PROGRESSING",type=string,JSONPath=`.status.conditions[?(@.type=='Progressing')].status`
243243
// +kubebuilder:printcolumn:name="DEGRADED",type=string,JSONPath=`.status.conditions[?(@.type=='Degraded')].status`

0 commit comments

Comments
 (0)