Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix status field name error #1082

Merged
merged 1 commit into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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