From 75eb1ef2d1aba303e40056335e6cf218c6fd10a1 Mon Sep 17 00:00:00 2001 From: Rory Z <16801068+Rory-Z@users.noreply.github.com> Date: Tue, 22 Oct 2024 18:05:11 +0800 Subject: [PATCH] chore: fix status field name error Signed-off-by: Rory Z <16801068+Rory-Z@users.noreply.github.com> --- apis/apps/v2beta1/status.go | 2 +- config/crd/bases/apps.emqx.io_emqxes.yaml | 2 +- deploy/charts/emqx-operator/Chart.yaml | 4 ++-- .../emqx-operator/templates/crd.emqxes.apps.emqx.io.yaml | 2 +- docs/en_US/reference/v2beta1-reference.md | 2 +- docs/en_US/tasks/configure-emqx-blueGreenUpdate.md | 2 +- docs/zh_CN/reference/v2beta1-reference.md | 2 +- docs/zh_CN/tasks/configure-emqx-blueGreenUpdate.md | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apis/apps/v2beta1/status.go b/apis/apps/v2beta1/status.go index cf8528dc..92346baf 100644 --- a/apis/apps/v2beta1/status.go +++ b/apis/apps/v2beta1/status.go @@ -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 { diff --git a/config/crd/bases/apps.emqx.io_emqxes.yaml b/config/crd/bases/apps.emqx.io_emqxes.yaml index 87df0d31..05b9dae2 100644 --- a/config/crd/bases/apps.emqx.io_emqxes.yaml +++ b/config/crd/bases/apps.emqx.io_emqxes.yaml @@ -13865,7 +13865,7 @@ spec: updateRevision: type: string type: object - nodEvacuationsStatus: + nodeEvacuationsStatus: items: properties: connection_eviction_rate: diff --git a/deploy/charts/emqx-operator/Chart.yaml b/deploy/charts/emqx-operator/Chart.yaml index 8d750b42..04a45239 100644 --- a/deploy/charts/emqx-operator/Chart.yaml +++ b/deploy/charts/emqx-operator/Chart.yaml @@ -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 diff --git a/deploy/charts/emqx-operator/templates/crd.emqxes.apps.emqx.io.yaml b/deploy/charts/emqx-operator/templates/crd.emqxes.apps.emqx.io.yaml index 86a1693a..4a15fe63 100644 --- a/deploy/charts/emqx-operator/templates/crd.emqxes.apps.emqx.io.yaml +++ b/deploy/charts/emqx-operator/templates/crd.emqxes.apps.emqx.io.yaml @@ -13878,7 +13878,7 @@ spec: updateRevision: type: string type: object - nodEvacuationsStatus: + nodeEvacuationsStatus: items: properties: connection_eviction_rate: diff --git a/docs/en_US/reference/v2beta1-reference.md b/docs/en_US/reference/v2beta1-reference.md index 7d4f344f..9d2ec087 100644 --- a/docs/en_US/reference/v2beta1-reference.md +++ b/docs/en_US/reference/v2beta1-reference.md @@ -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 diff --git a/docs/en_US/tasks/configure-emqx-blueGreenUpdate.md b/docs/en_US/tasks/configure-emqx-blueGreenUpdate.md index 240426a8..18338b6a 100644 --- a/docs/en_US/tasks/configure-emqx-blueGreenUpdate.md +++ b/docs/en_US/tasks/configure-emqx-blueGreenUpdate.md @@ -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" [ { diff --git a/docs/zh_CN/reference/v2beta1-reference.md b/docs/zh_CN/reference/v2beta1-reference.md index 7d4f344f..9d2ec087 100644 --- a/docs/zh_CN/reference/v2beta1-reference.md +++ b/docs/zh_CN/reference/v2beta1-reference.md @@ -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 diff --git a/docs/zh_CN/tasks/configure-emqx-blueGreenUpdate.md b/docs/zh_CN/tasks/configure-emqx-blueGreenUpdate.md index b7cee572..5a43e165 100644 --- a/docs/zh_CN/tasks/configure-emqx-blueGreenUpdate.md +++ b/docs/zh_CN/tasks/configure-emqx-blueGreenUpdate.md @@ -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" [ {