fix(helm): update emqx-operator ( 2.2.28 → 2.2.29 ) #137

Merged
renovate[bot] merged 1 commit from renovate/emqx-operator-2.x into main 2025-05-06 07:53:35 +02:00
renovate[bot] commented 2025-05-06 04:29:11 +02:00 (Migrated from github.com)

This PR contains the following updates:

Package Update Change
emqx-operator (source) patch 2.2.28 -> 2.2.29

Release Notes

emqx/emqx-operator (emqx-operator)

v2.2.29: EMQX Operator 2.2.29 Released

Compare Source

Release Note 🍻

EMQX Operator 2.2.29 has been released.

Supported version

  • apps.emqx.io/v2beta1

    • EMQX at 5.1.1 and later
    • EMQX Enterprise at 5.1.1 and later
  • apps.emqx.io/v1beta4

    • EMQX at 4.4.14 and later
    • EMQX Enterprise at 4.4.14 and later

Fix 🐞

  • Fix the issue that the replicas of the statefulSet is not current when the emqx CR is updated

  • Correct TopologySpreadConstraints reference in generateReplicaSet function

Chore 🏗

  • Helm chart

    • Make webhook into namespace scope when singleNamespace=true @​

    • Remove wrong usage of imagePullSecrets

How to install/upgrade EMQX Operator 💡

Need make sure the cert-manager is ready

helm repo add emqx https://repos.emqx.io/charts
helm repo update
helm upgrade --install emqx-operator emqx/emqx-operator \
  --namespace emqx-operator-system \
  --create-namespace \
  --version 2.2.29
kubectl wait --for=condition=Ready pods -l "control-plane=controller-manager" -n emqx-operator-system

Warning 🚨

apps.emqx.io/v1beta3 and apps.emqx.io/v2alpha1 will be dropped soon

What's Changed

New Contributors

Full Changelog: https://github.com/emqx/emqx-operator/compare/2.2.28...2.2.29


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [emqx-operator](https://redirect.github.com/emqx/emqx-operator) ([source](https://redirect.github.com/emqx/emqx-operator/tree/HEAD/deploy/charts/emqx-operator)) | patch | `2.2.28` -> `2.2.29` | --- ### Release Notes <details> <summary>emqx/emqx-operator (emqx-operator)</summary> ### [`v2.2.29`](https://redirect.github.com/emqx/emqx-operator/releases/tag/2.2.29): EMQX Operator 2.2.29 Released [Compare Source](https://redirect.github.com/emqx/emqx-operator/compare/2.2.28...2.2.29) ### Release Note 🍻 EMQX Operator 2.2.29 has been released. #### Supported version - apps.emqx.io/v2beta1 - EMQX at 5.1.1 and later - EMQX Enterprise at 5.1.1 and later - apps.emqx.io/v1beta4 - EMQX at 4.4.14 and later - EMQX Enterprise at 4.4.14 and later #### Fix 🐞 - Fix the issue that the replicas of the statefulSet is not current when the `emqx` CR is updated - Correct TopologySpreadConstraints reference in generateReplicaSet function #### Chore 🏗 - Helm chart - Make webhook into namespace scope when singleNamespace=true @&#8203; - Remove wrong usage of imagePullSecrets #### How to install/upgrade EMQX Operator 💡 > Need make sure the [cert-manager](https://cert-manager.io/) is ready helm repo add emqx https://repos.emqx.io/charts helm repo update helm upgrade --install emqx-operator emqx/emqx-operator \ --namespace emqx-operator-system \ --create-namespace \ --version 2.2.29 kubectl wait --for=condition=Ready pods -l "control-plane=controller-manager" -n emqx-operator-system #### Warning 🚨 `apps.emqx.io/v1beta3` and `apps.emqx.io/v2alpha1` will be dropped soon #### What's Changed - fix: change scale down strategy when blue green update by [@&#8203;Rory-Z](https://redirect.github.com/Rory-Z) in [https://github.com/emqx/emqx-operator/pull/1108](https://redirect.github.com/emqx/emqx-operator/pull/1108) - make webhook into namespace scope when singleNamespace=true by [@&#8203;phosae](https://redirect.github.com/phosae) in [https://github.com/emqx/emqx-operator/pull/1116](https://redirect.github.com/emqx/emqx-operator/pull/1116) - helm chart README: fix typo by [@&#8203;phosae](https://redirect.github.com/phosae) in [https://github.com/emqx/emqx-operator/pull/1114](https://redirect.github.com/emqx/emqx-operator/pull/1114) - Helm Chart: Remove wrong image pull usage in SA by [@&#8203;K4iM4k3r](https://redirect.github.com/K4iM4k3r) in [https://github.com/emqx/emqx-operator/pull/1119](https://redirect.github.com/emqx/emqx-operator/pull/1119) - fix: correct TopologySpreadConstraints reference in generateReplicaSet by [@&#8203;bluicezhen](https://redirect.github.com/bluicezhen) in [https://github.com/emqx/emqx-operator/pull/1122](https://redirect.github.com/emqx/emqx-operator/pull/1122) - docs: use consistent docker image tag by [@&#8203;id](https://redirect.github.com/id) in [https://github.com/emqx/emqx-operator/pull/1127](https://redirect.github.com/emqx/emqx-operator/pull/1127) - chore(rbac): add patch permission for event by [@&#8203;Rory-Z](https://redirect.github.com/Rory-Z) in [https://github.com/emqx/emqx-operator/pull/1133](https://redirect.github.com/emqx/emqx-operator/pull/1133) - fix(blue-green update): fix set sts replicas less than 0 by [@&#8203;Rory-Z](https://redirect.github.com/Rory-Z) in [https://github.com/emqx/emqx-operator/pull/1132](https://redirect.github.com/emqx/emqx-operator/pull/1132) #### New Contributors - [@&#8203;phosae](https://redirect.github.com/phosae) made their first contribution in [https://github.com/emqx/emqx-operator/pull/1116](https://redirect.github.com/emqx/emqx-operator/pull/1116) - [@&#8203;K4iM4k3r](https://redirect.github.com/K4iM4k3r) made their first contribution in [https://github.com/emqx/emqx-operator/pull/1119](https://redirect.github.com/emqx/emqx-operator/pull/1119) - [@&#8203;bluicezhen](https://redirect.github.com/bluicezhen) made their first contribution in [https://github.com/emqx/emqx-operator/pull/1122](https://redirect.github.com/emqx/emqx-operator/pull/1122) **Full Changelog**: https://github.com/emqx/emqx-operator/compare/2.2.28...2.2.29 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/GiorgioAresu/home-ops). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9oZWxtIiwidHlwZS9wYXRjaCJdfQ==-->
giorgiobot[bot] commented 2025-05-06 04:29:54 +02:00 (Migrated from github.com)
--- HelmRelease: monitoring/grafana Deployment: monitoring/grafana

+++ HelmRelease: monitoring/grafana Deployment: monitoring/grafana

@@ -22,13 +22,13 @@

   template:
     metadata:
       labels:
         app.kubernetes.io/name: grafana
         app.kubernetes.io/instance: grafana
       annotations:
-        checksum/dashboards-json-config: 912d39117699c839de83a4e24a73b3ba3ad9c5a88a7e58338e64cf9db2e02f97
+        checksum/dashboards-json-config: 326b8e11967f60a5d74d86a93ec589a19d6be748b01e6f6c2e97a75ddec2f7d3
         checksum/sc-dashboard-provider-config: c942752180ddff51a3ab63b7d256cf3d856d90757b6f804cbc420562989d5a84
         kubectl.kubernetes.io/default-container: grafana
     spec:
       serviceAccountName: grafana
       automountServiceAccountToken: true
       shareProcessNamespace: false
--- HelmRelease: database/emqx-operator ClusterRole: database/emqx-operator-manager-role

+++ HelmRelease: database/emqx-operator ClusterRole: database/emqx-operator-manager-role

@@ -5,22 +5,16 @@

   name: emqx-operator-manager-role
 rules:
 - apiGroups:
   - ''
   resources:
   - configmaps
-  verbs:
-  - create
-  - get
-  - list
-  - update
-  - watch
-- apiGroups:
-  - ''
-  resources:
   - endpoints
+  - persistentvolumes
+  - secrets
+  - services
   verbs:
   - create
   - get
   - list
   - update
   - watch
@@ -29,31 +23,22 @@

   resources:
   - events
   verbs:
   - create
   - get
   - list
+  - patch
   - update
   - watch
 - apiGroups:
   - ''
   resources:
   - persistentvolumeclaims
   verbs:
   - create
   - delete
-  - get
-  - list
-  - update
-  - watch
-- apiGroups:
-  - ''
-  resources:
-  - persistentvolumes
-  verbs:
-  - create
   - get
   - list
   - update
   - watch
 - apiGroups:
   - ''
@@ -68,49 +53,67 @@

   - ''
   resources:
   - pods/status
   verbs:
   - patch
 - apiGroups:
-  - ''
-  resources:
-  - secrets
-  verbs:
-  - create
-  - get
-  - list
-  - update
-  - watch
-- apiGroups:
-  - ''
-  resources:
-  - services
-  verbs:
-  - create
-  - get
-  - list
-  - update
-  - watch
-- apiGroups:
   - apps
   resources:
   - replicasets
+  - statefulsets
   verbs:
   - create
   - delete
   - get
   - list
   - update
   - watch
 - apiGroups:
-  - apps
+  - apps.emqx.io
   resources:
-  - statefulsets
+  - emqxbrokers
+  - emqxenterprises
+  - emqxes
+  - emqxplugins
+  - rebalances
   verbs:
   - create
   - delete
+  - get
+  - list
+  - patch
+  - update
+  - watch
+- apiGroups:
+  - apps.emqx.io
+  resources:
+  - emqxbrokers/finalizers
+  - emqxenterprises/finalizers
+  - emqxes/finalizers
+  - emqxplugins/finalizers
+  - rebalances/finalizers
+  verbs:
+  - update
+- apiGroups:
+  - apps.emqx.io
+  resources:
+  - emqxbrokers/status
+  - emqxenterprises/status
+  - emqxes/status
+  - emqxplugins/status
+  - rebalances/status
+  verbs:
+  - get
+  - patch
+  - update
+- apiGroups:
+  - coordination.k8s.io
+  resources:
+  - leases
+  verbs:
+  - create
   - get
   - list
   - update
   - watch
 - apiGroups:
   - policy
@@ -120,147 +123,7 @@

   - create
   - delete
   - get
   - list
   - update
   - watch
-- apiGroups:
-  - apps.emqx.io
-  resources:
-  - emqxbrokers
-  verbs:
-  - create
-  - delete
-  - get
-  - list
-  - patch
-  - update
-  - watch
-- apiGroups:
-  - apps.emqx.io
-  resources:
-  - emqxbrokers/finalizers
-  verbs:
-  - update
-- apiGroups:
-  - apps.emqx.io
-  resources:
-  - emqxbrokers/status
-  verbs:
-  - get
-  - patch
-  - update
-- apiGroups:
-  - apps.emqx.io
-  resources:
-  - emqxenterprises
-  verbs:
-  - create
-  - delete
-  - get
-  - list
-  - patch
-  - update
-  - watch
-- apiGroups:
-  - apps.emqx.io
-  resources:
-  - emqxenterprises/finalizers
-  verbs:
-  - update
-- apiGroups:
-  - apps.emqx.io
-  resources:
-  - emqxenterprises/status
-  verbs:
-  - get
-  - patch
-  - update
-- apiGroups:
-  - apps.emqx.io
-  resources:
-  - emqxes
-  verbs:
-  - create
-  - delete
-  - get
-  - list
-  - patch
-  - update
-  - watch
-- apiGroups:
-  - apps.emqx.io
-  resources:
-  - emqxes/finalizers
-  verbs:
-  - update
-- apiGroups:
-  - apps.emqx.io
-  resources:
-  - emqxes/status
-  verbs:
-  - get
-  - patch
-  - update
-- apiGroups:
-  - apps.emqx.io
-  resources:
-  - emqxplugins
-  verbs:
-  - create
-  - delete
-  - get
-  - list
-  - patch
-  - update
-  - watch
-- apiGroups:
-  - apps.emqx.io
-  resources:
-  - emqxplugins/finalizers
-  verbs:
-  - update
-- apiGroups:
-  - apps.emqx.io
-  resources:
-  - emqxplugins/status
-  verbs:
-  - get
-  - patch
-  - update
-- apiGroups:
-  - apps.emqx.io
-  resources:
-  - rebalances
-  verbs:
-  - create
-  - delete
-  - get
-  - list
-  - patch
-  - update
-  - watch
-- apiGroups:
-  - apps.emqx.io
-  resources:
-  - rebalances/finalizers
-  verbs:
-  - update
-- apiGroups:
-  - apps.emqx.io
-  resources:
-  - rebalances/status
-  verbs:
-  - get
-  - patch
-  - update
-- apiGroups:
-  - coordination.k8s.io
-  resources:
-  - leases
-  verbs:
-  - create
-  - get
-  - list
-  - update
-  - watch
 
--- HelmRelease: database/emqx-operator Deployment: database/emqx-operator-controller-manager

+++ HelmRelease: database/emqx-operator Deployment: database/emqx-operator-controller-manager

@@ -30,13 +30,13 @@

         - --leader-elect
         - --metrics-bind-address=:8080
         - --health-probe-bind-address=:8081
         - --zap-devel=false
         command:
         - /manager
-        image: ghcr.io/emqx/emqx-operator:2.2.28
+        image: ghcr.io/emqx/emqx-operator:2.2.29
         imagePullPolicy: IfNotPresent
         livenessProbe:
           httpGet:
             path: /healthz
             port: 8081
           initialDelaySeconds: 15
```diff --- HelmRelease: monitoring/grafana Deployment: monitoring/grafana +++ HelmRelease: monitoring/grafana Deployment: monitoring/grafana @@ -22,13 +22,13 @@ template: metadata: labels: app.kubernetes.io/name: grafana app.kubernetes.io/instance: grafana annotations: - checksum/dashboards-json-config: 912d39117699c839de83a4e24a73b3ba3ad9c5a88a7e58338e64cf9db2e02f97 + checksum/dashboards-json-config: 326b8e11967f60a5d74d86a93ec589a19d6be748b01e6f6c2e97a75ddec2f7d3 checksum/sc-dashboard-provider-config: c942752180ddff51a3ab63b7d256cf3d856d90757b6f804cbc420562989d5a84 kubectl.kubernetes.io/default-container: grafana spec: serviceAccountName: grafana automountServiceAccountToken: true shareProcessNamespace: false --- HelmRelease: database/emqx-operator ClusterRole: database/emqx-operator-manager-role +++ HelmRelease: database/emqx-operator ClusterRole: database/emqx-operator-manager-role @@ -5,22 +5,16 @@ name: emqx-operator-manager-role rules: - apiGroups: - '' resources: - configmaps - verbs: - - create - - get - - list - - update - - watch -- apiGroups: - - '' - resources: - endpoints + - persistentvolumes + - secrets + - services verbs: - create - get - list - update - watch @@ -29,31 +23,22 @@ resources: - events verbs: - create - get - list + - patch - update - watch - apiGroups: - '' resources: - persistentvolumeclaims verbs: - create - delete - - get - - list - - update - - watch -- apiGroups: - - '' - resources: - - persistentvolumes - verbs: - - create - get - list - update - watch - apiGroups: - '' @@ -68,49 +53,67 @@ - '' resources: - pods/status verbs: - patch - apiGroups: - - '' - resources: - - secrets - verbs: - - create - - get - - list - - update - - watch -- apiGroups: - - '' - resources: - - services - verbs: - - create - - get - - list - - update - - watch -- apiGroups: - apps resources: - replicasets + - statefulsets verbs: - create - delete - get - list - update - watch - apiGroups: - - apps + - apps.emqx.io resources: - - statefulsets + - emqxbrokers + - emqxenterprises + - emqxes + - emqxplugins + - rebalances verbs: - create - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - apps.emqx.io + resources: + - emqxbrokers/finalizers + - emqxenterprises/finalizers + - emqxes/finalizers + - emqxplugins/finalizers + - rebalances/finalizers + verbs: + - update +- apiGroups: + - apps.emqx.io + resources: + - emqxbrokers/status + - emqxenterprises/status + - emqxes/status + - emqxplugins/status + - rebalances/status + verbs: + - get + - patch + - update +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create - get - list - update - watch - apiGroups: - policy @@ -120,147 +123,7 @@ - create - delete - get - list - update - watch -- apiGroups: - - apps.emqx.io - resources: - - emqxbrokers - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - apps.emqx.io - resources: - - emqxbrokers/finalizers - verbs: - - update -- apiGroups: - - apps.emqx.io - resources: - - emqxbrokers/status - verbs: - - get - - patch - - update -- apiGroups: - - apps.emqx.io - resources: - - emqxenterprises - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - apps.emqx.io - resources: - - emqxenterprises/finalizers - verbs: - - update -- apiGroups: - - apps.emqx.io - resources: - - emqxenterprises/status - verbs: - - get - - patch - - update -- apiGroups: - - apps.emqx.io - resources: - - emqxes - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - apps.emqx.io - resources: - - emqxes/finalizers - verbs: - - update -- apiGroups: - - apps.emqx.io - resources: - - emqxes/status - verbs: - - get - - patch - - update -- apiGroups: - - apps.emqx.io - resources: - - emqxplugins - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - apps.emqx.io - resources: - - emqxplugins/finalizers - verbs: - - update -- apiGroups: - - apps.emqx.io - resources: - - emqxplugins/status - verbs: - - get - - patch - - update -- apiGroups: - - apps.emqx.io - resources: - - rebalances - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - apps.emqx.io - resources: - - rebalances/finalizers - verbs: - - update -- apiGroups: - - apps.emqx.io - resources: - - rebalances/status - verbs: - - get - - patch - - update -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - get - - list - - update - - watch --- HelmRelease: database/emqx-operator Deployment: database/emqx-operator-controller-manager +++ HelmRelease: database/emqx-operator Deployment: database/emqx-operator-controller-manager @@ -30,13 +30,13 @@ - --leader-elect - --metrics-bind-address=:8080 - --health-probe-bind-address=:8081 - --zap-devel=false command: - /manager - image: ghcr.io/emqx/emqx-operator:2.2.28 + image: ghcr.io/emqx/emqx-operator:2.2.29 imagePullPolicy: IfNotPresent livenessProbe: httpGet: path: /healthz port: 8081 initialDelaySeconds: 15 ``` <!-- Sticky Pull Request Comment137/kubernetes/ -->
Sign in to join this conversation.
No description provided.