Skip to content

Commit

Permalink
Merge pull request kurator-dev#562 from LiZhenCheng9527/app-api-rollo…
Browse files Browse the repository at this point in the history
…utstatus

fix incorrect expression of rolloutStatus
  • Loading branch information
kurator-bot authored Jan 12, 2024
2 parents a96200d + d1f755d commit ab41efe
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions docs/content/en/references/apps_v1alpha1_types.html
Original file line number Diff line number Diff line change
Expand Up @@ -1919,7 +1919,7 @@ <h3 id="apps.kurator.dev/v1alpha1.RolloutStatus">RolloutStatus
</tr>
<tr>
<td>
<code>backupNameInCluster</code><br>
<code>rolloutNameInCluster</code><br>
<em>
string
</em>
Expand All @@ -1931,7 +1931,7 @@ <h3 id="apps.kurator.dev/v1alpha1.RolloutStatus">RolloutStatus
</tr>
<tr>
<td>
<code>backupStatusInCluster</code><br>
<code>rolloutStatusInCluster</code><br>
<em>
github.com/fluxcd/flagger/pkg/apis/flagger/v1beta1.CanaryStatus
</em>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2683,11 +2683,15 @@ spec:
rolloutStatus:
description: RolloutStatus defines the observed state of Rollout.
properties:
backupNameInCluster:
clusterName:
description: ClusterName is the Name of the cluster where
the rollout is being performed.
type: string
rolloutNameInCluster:
description: RolloutNameInCluster is the name of the rollout
being performed within this cluster.
type: string
backupStatusInCluster:
rolloutStatusInCluster:
description: RolloutStatusInCluster is the current status
of the Rollout performed within this cluster.
properties:
Expand Down Expand Up @@ -2753,10 +2757,6 @@ spec:
- iterations
- phase
type: object
clusterName:
description: ClusterName is the Name of the cluster where
the rollout is being performed.
type: string
type: object
type: object
type: array
Expand Down
4 changes: 2 additions & 2 deletions pkg/apis/apps/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -461,11 +461,11 @@ type RolloutStatus struct {

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

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

// ApplicationList contains a list of Application.
Expand Down

0 comments on commit ab41efe

Please sign in to comment.