Skip to content

Commit a85779b

Browse files
committed
fix comments
1 parent ad1d75b commit a85779b

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

apis/placement/v1alpha1/stagedupdate_types.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ import (
1818
// +kubebuilder:resource:scope=Cluster,categories={fleet,fleet-placement},shortName=crsur
1919
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
2020
// +kubebuilder:printcolumn:JSONPath=`.spec.placementName`,name="Placement",type=string
21-
// +kubebuilder:printcolumn:JSONPath=`.spec.resourceSnapshotIndex`,name="ResourceSnapshot",type=string
21+
// +kubebuilder:printcolumn:JSONPath=`.spec.resourceSnapshotIndex`,name="Resource-Snapshot",type=string
2222
// +kubebuilder:printcolumn:JSONPath=`.spec.stagedRolloutStrategyName`,name="Strategy",priority=1,type=string
23-
// +kubebuilder:printcolumn:JSONPath=`.status.policySnapshotIndexUsed`,name="PolicySnapshot",type=string
23+
// +kubebuilder:printcolumn:JSONPath=`.status.policySnapshotIndexUsed`,name="Policy-Snapshot",type=string
2424
// +kubebuilder:printcolumn:JSONPath=`.status.conditions[?(@.type=="Initialized")].status`,name="Initialized",type=string
2525
// +kubebuilder:printcolumn:JSONPath=`.status.conditions[?(@.type=="Succeeded")].status`,name="Succeeded",type=string
2626
// +kubebuilder:printcolumn:JSONPath=`.metadata.creationTimestamp`,name="Age",type=date
@@ -404,7 +404,7 @@ type ClusterStagedUpdateRunList struct {
404404
// +kubebuilder:subresource:status
405405
// +kubebuilder:resource:scope=Cluster,categories={fleet,fleet-placement},shortName=careq
406406
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
407-
// +kubebuilder:printcolumn:JSONPath=`.spec.parentStageRollout`,name="UpdateRun",type=string
407+
// +kubebuilder:printcolumn:JSONPath=`.spec.parentStageRollout`,name="Update-Run",type=string
408408
// +kubebuilder:printcolumn:JSONPath=`.spec.targetStage`,name="Stage",type=string
409409
// +kubebuilder:printcolumn:JSONPath=`.status.conditions[?(@.type=="Approved")].status`,name="Approved",type=string
410410
// +kubebuilder:printcolumn:JSONPath=`.metadata.creationTimestamp`,name="Age",type=date

apis/placement/v1beta1/stageupdate_types.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ import (
1717
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
1818
// +kubebuilder:storageversion
1919
// +kubebuilder:printcolumn:JSONPath=`.spec.placementName`,name="Placement",type=string
20-
// +kubebuilder:printcolumn:JSONPath=`.spec.resourceSnapshotIndex`,name="ResourceSnapshot",type=string
20+
// +kubebuilder:printcolumn:JSONPath=`.spec.resourceSnapshotIndex`,name="Resource-Snapshot",type=string
2121
// +kubebuilder:printcolumn:JSONPath=`.spec.stagedRolloutStrategyName`,name="Strategy",priority=1,type=string
22-
// +kubebuilder:printcolumn:JSONPath=`.status.policySnapshotIndexUsed`,name="PolicySnapshot",type=string
22+
// +kubebuilder:printcolumn:JSONPath=`.status.policySnapshotIndexUsed`,name="Policy-Snapshot",type=string
2323
// +kubebuilder:printcolumn:JSONPath=`.status.conditions[?(@.type=="Initialized")].status`,name="Initialized",type=string
2424
// +kubebuilder:printcolumn:JSONPath=`.status.conditions[?(@.type=="Succeeded")].status`,name="Succeeded",type=string
2525
// +kubebuilder:printcolumn:JSONPath=`.metadata.creationTimestamp`,name="Age",type=date
@@ -405,7 +405,7 @@ type ClusterStagedUpdateRunList struct {
405405
// +kubebuilder:resource:scope=Cluster,categories={fleet,fleet-placement},shortName=careq
406406
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
407407
// +kubebuilder:storageversion
408-
// +kubebuilder:printcolumn:JSONPath=`.spec.parentStageRollout`,name="UpdateRun",type=string
408+
// +kubebuilder:printcolumn:JSONPath=`.spec.parentStageRollout`,name="Update-Run",type=string
409409
// +kubebuilder:printcolumn:JSONPath=`.spec.targetStage`,name="Stage",type=string
410410
// +kubebuilder:printcolumn:JSONPath=`.status.conditions[?(@.type=="Approved")].status`,name="Approved",type=string
411411
// +kubebuilder:printcolumn:JSONPath=`.metadata.creationTimestamp`,name="Age",type=date

config/crd/bases/placement.kubernetes-fleet.io_clusterapprovalrequests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
versions:
2222
- additionalPrinterColumns:
2323
- jsonPath: .spec.parentStageRollout
24-
name: UpdateRun
24+
name: Update-Run
2525
type: string
2626
- jsonPath: .spec.targetStage
2727
name: Stage
@@ -165,7 +165,7 @@ spec:
165165
status: {}
166166
- additionalPrinterColumns:
167167
- jsonPath: .spec.parentStageRollout
168-
name: UpdateRun
168+
name: Update-Run
169169
type: string
170170
- jsonPath: .spec.targetStage
171171
name: Stage

config/crd/bases/placement.kubernetes-fleet.io_clusterstagedupdateruns.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ spec:
2424
name: Placement
2525
type: string
2626
- jsonPath: .spec.resourceSnapshotIndex
27-
name: ResourceSnapshot
27+
name: Resource-Snapshot
2828
type: string
2929
- jsonPath: .spec.stagedRolloutStrategyName
3030
name: Strategy
3131
priority: 1
3232
type: string
3333
- jsonPath: .status.policySnapshotIndexUsed
34-
name: PolicySnapshot
34+
name: Policy-Snapshot
3535
type: string
3636
- jsonPath: .status.conditions[?(@.type=="Initialized")].status
3737
name: Initialized
@@ -1241,14 +1241,14 @@ spec:
12411241
name: Placement
12421242
type: string
12431243
- jsonPath: .spec.resourceSnapshotIndex
1244-
name: ResourceSnapshot
1244+
name: Resource-Snapshot
12451245
type: string
12461246
- jsonPath: .spec.stagedRolloutStrategyName
12471247
name: Strategy
12481248
priority: 1
12491249
type: string
12501250
- jsonPath: .status.policySnapshotIndexUsed
1251-
name: PolicySnapshot
1251+
name: Policy-Snapshot
12521252
type: string
12531253
- jsonPath: .status.conditions[?(@.type=="Initialized")].status
12541254
name: Initialized

0 commit comments

Comments
 (0)