Skip to content

Commit

Permalink
chore: dump version to 2.2.9
Browse files Browse the repository at this point in the history
Signed-off-by: Rory Z <[email protected]>
  • Loading branch information
Rory-Z committed Jan 8, 2024
1 parent 378006a commit 3508d67
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
10 changes: 4 additions & 6 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release Note 🍻

EMQX Operator 2.2.8 has been released.
EMQX Operator 2.2.9 has been released.

## Supported version
+ apps.emqx.io/v2beta1
Expand All @@ -13,13 +13,11 @@ EMQX Operator 2.2.8 has been released.
+ EMQX at 4.4.14 and later
+ EMQX Enterprise at 4.4.14 and later

## Fixes 🛠
## Enhancements ✨

+ `apps.emqx.io/v2beta1 EMQX`.

+ Fix sometimes the EMQX operator controller will update K8s service, even the service is not changed

+ Fix sometimes the EMQX operator controller will access the reload config API of EMQX, even if the config is not changed
+ When checking the update EMQX sub-resource, should skip the status field, and print the log.

## How to install/upgrade EMQX Operator 💡

Expand All @@ -31,7 +29,7 @@ helm repo update
helm upgrade --install emqx-operator emqx/emqx-operator \
--namespace emqx-operator-system \
--create-namespace \
--version 2.2.8
--version 2.2.9
kubectl wait --for=condition=Ready pods -l "control-plane=controller-manager" -n emqx-operator-system
```

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,9 +15,9 @@ 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.8
version: 2.2.9

# 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.8
appVersion: 2.2.9
2 changes: 1 addition & 1 deletion internal/handler/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func (handler *Handler) CreateOrUpdate(ctx context.Context, scheme *runtime.Sche
return emperror.Wrapf(err, "failed to calculate patch for %s %s", obj.GetObjectKind().GroupVersionKind().Kind, obj.GetName())
}
if !patchResult.IsEmpty() {
logger.Info("Will update EMQX sub resource", "sub resource", obj.GetObjectKind().GroupVersionKind().GroupKind().String(), "name", obj.GetName(), "patch", string(patchResult.Patch))
logger.Info("Will update EMQX sub-resource", "sub-resource", obj.GetObjectKind().GroupVersionKind().GroupKind().String(), "name", obj.GetName(), "patch", string(patchResult.Patch))
return handler.Update(ctx, obj)
}
return nil
Expand Down

0 comments on commit 3508d67

Please sign in to comment.