Skip to content

Commit

Permalink
chore: fix status field name error
Browse files Browse the repository at this point in the history
Signed-off-by: Rory Z <[email protected]>
  • Loading branch information
Rory-Z committed Oct 22, 2024
1 parent 44e9730 commit 5a1dc9f
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion apis/apps/v2beta1/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type EMQXStatus struct {
ReplicantNodes []EMQXNode `json:"replicantNodes,omitempty"`
ReplicantNodesStatus EMQXNodesStatus `json:"replicantNodesStatus,omitempty"`

NodeEvacuationsStatus []NodeEvacuationStatus `json:"nodEvacuationsStatus,omitempty"`
NodeEvacuationsStatus []NodeEvacuationStatus `json:"nodeEvacuationsStatus,omitempty"`
}

type NodeEvacuationStatus struct {
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/apps.emqx.io_emqxes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13865,7 +13865,7 @@ spec:
updateRevision:
type: string
type: object
nodEvacuationsStatus:
nodeEvacuationsStatus:
items:
properties:
connection_eviction_rate:
Expand Down
4 changes: 2 additions & 2 deletions deploy/charts/emqx-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2.2.25
version: 2.2.26

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: 2.2.25
appVersion: 2.2.26

sources:
- https://github.com/emqx/emqx-operator/tree/main/deploy/charts/emqx-operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13878,7 +13878,7 @@ spec:
updateRevision:
type: string
type: object
nodEvacuationsStatus:
nodeEvacuationsStatus:
items:
properties:
connection_eviction_rate:
Expand Down
2 changes: 1 addition & 1 deletion docs/en_US/reference/v2beta1-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ _Appears in:_
| `coreNodesStatus` _[EMQXNodesStatus](#emqxnodesstatus)_ | | | |
| `replicantNodes` _[EMQXNode](#emqxnode) array_ | | | |
| `replicantNodesStatus` _[EMQXNodesStatus](#emqxnodesstatus)_ | | | |
| `nodEvacuationsStatus` _[NodeEvacuationStatus](#nodeevacuationstatus) array_ | | | |
| `nodeEvacuationsStatus` _[NodeEvacuationStatus](#nodeevacuationstatus) array_ | | | |


#### EvacuationStrategy
Expand Down
2 changes: 1 addition & 1 deletion docs/en_US/tasks/configure-emqx-blueGreenUpdate.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ Output is similar to:
- Check status.

```bash
$ kubectl get emqx emqx-ee -o json | jq ".status.nodEvacuationsStatus"
$ kubectl get emqx emqx-ee -o json | jq ".status.nodeEvacuationsStatus"
[
{
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_CN/reference/v2beta1-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ _Appears in:_
| `coreNodesStatus` _[EMQXNodesStatus](#emqxnodesstatus)_ | | | |
| `replicantNodes` _[EMQXNode](#emqxnode) array_ | | | |
| `replicantNodesStatus` _[EMQXNodesStatus](#emqxnodesstatus)_ | | | |
| `nodEvacuationsStatus` _[NodeEvacuationStatus](#nodeevacuationstatus) array_ | | | |
| `nodeEvacuationsStatus` _[NodeEvacuationStatus](#nodeevacuationstatus) array_ | | | |


#### EvacuationStrategy
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_CN/tasks/configure-emqx-blueGreenUpdate.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ mqttx bench conn -h ${IP} -p ${PORT} -c 3000
- 检查蓝绿升级的状态

```bash
$ kubectl get emqx emqx-ee -o json | jq ".status.nodEvacuationsStatus"
$ kubectl get emqx emqx-ee -o json | jq ".status.nodeEvacuationsStatus"
[
{
Expand Down

0 comments on commit 5a1dc9f

Please sign in to comment.