Skip to content

Commit d1f755d

Browse files
fix incorrect expression of rolloutStatus
Signed-off-by: LiZhenCheng9527 <lizhencheng6@huawei.com>
1 parent 950b692 commit d1f755d

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

docs/content/en/references/apps_v1alpha1_types.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1919,7 +1919,7 @@ <h3 id="apps.kurator.dev/v1alpha1.RolloutStatus">RolloutStatus
19191919
</tr>
19201920
<tr>
19211921
<td>
1922-
<code>backupNameInCluster</code><br>
1922+
<code>rolloutNameInCluster</code><br>
19231923
<em>
19241924
string
19251925
</em>
@@ -1931,7 +1931,7 @@ <h3 id="apps.kurator.dev/v1alpha1.RolloutStatus">RolloutStatus
19311931
</tr>
19321932
<tr>
19331933
<td>
1934-
<code>backupStatusInCluster</code><br>
1934+
<code>rolloutStatusInCluster</code><br>
19351935
<em>
19361936
github.com/fluxcd/flagger/pkg/apis/flagger/v1beta1.CanaryStatus
19371937
</em>

manifests/charts/fleet-manager/crds/apps.kurator.dev_applications.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2683,11 +2683,15 @@ spec:
26832683
rolloutStatus:
26842684
description: RolloutStatus defines the observed state of Rollout.
26852685
properties:
2686-
backupNameInCluster:
2686+
clusterName:
2687+
description: ClusterName is the Name of the cluster where
2688+
the rollout is being performed.
2689+
type: string
2690+
rolloutNameInCluster:
26872691
description: RolloutNameInCluster is the name of the rollout
26882692
being performed within this cluster.
26892693
type: string
2690-
backupStatusInCluster:
2694+
rolloutStatusInCluster:
26912695
description: RolloutStatusInCluster is the current status
26922696
of the Rollout performed within this cluster.
26932697
properties:
@@ -2753,10 +2757,6 @@ spec:
27532757
- iterations
27542758
- phase
27552759
type: object
2756-
clusterName:
2757-
description: ClusterName is the Name of the cluster where
2758-
the rollout is being performed.
2759-
type: string
27602760
type: object
27612761
type: object
27622762
type: array

pkg/apis/apps/v1alpha1/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -461,11 +461,11 @@ type RolloutStatus struct {
461461

462462
// RolloutNameInCluster is the name of the rollout being performed within this cluster.
463463
// +optional
464-
RolloutNameInCluster string `json:"backupNameInCluster,omitempty"`
464+
RolloutNameInCluster string `json:"rolloutNameInCluster,omitempty"`
465465

466466
// RolloutStatusInCluster is the current status of the Rollout performed within this cluster.
467467
// +optional
468-
RolloutStatusInCluster *flaggerv1b1.CanaryStatus `json:"backupStatusInCluster,omitempty"`
468+
RolloutStatusInCluster *flaggerv1b1.CanaryStatus `json:"rolloutStatusInCluster,omitempty"`
469469
}
470470

471471
// ApplicationList contains a list of Application.

0 commit comments

Comments
 (0)