chore(deps): update dependency grafana/grafana-operator to v5.22.1 #4731

Merged
renovate-bot merged 1 commits from renovate/unified-grafanagrafana-operator into main 2026-03-14 19:48:21 +00:00
Collaborator

This PR contains the following updates:

Package Update Change
grafana/grafana-operator patch v5.22.0v5.22.1

Release Notes

grafana/grafana-operator (grafana/grafana-operator)

v5.22.1

Compare Source

Changes worth paying attention to

  • new emptyDir volume with /tmp mount point and deprecation of TMPDIR env:
    • starting from Grafana v12.4.0, plugins no longer have access to all environment variables by default (PR). It means that TMPDIR env, which we have previously used to override temporary location for plugin downloads, is now ignored. To mitigate that change on the operator side, we backed /tmp by an emptyDir volume and stopped adding TMPDIR env (the alternative was to generate forward_host_env_vars setting in plugins section of a configMap, which would be overly complex for our needs). It works with any Grafana version, so should be a transparent change for most users. In case you, for some reasons, have some manual volume overrides for /tmp as well, it would be a good idea to remove those;
  • deprecation of pre-provisioned receivers:
    • starting from Grafana v12.4.0, the pre-provisioned set of receivers has changed (PR), so, if you happen to rely on one of those (e.g. default-receiver, grafana-default-email), before upgrading to v12.4.0+, you should migrate to a custom receiver (use GrafanaContactPoint CR to provision one). It's also an option to rely on empty receiver instead, but it's available only in v12.4.0+, so you'd have to upgrade all matching Grafana instances at once;
  • RBAC for events:
    • with v5.22.0, you might have noticed in logs that the operator fails to generate LeaderElection events. It appears that controller-runtime still depends on core API ("") to generate this specific event. All the other events get recorded using events.k8s.io API group. Our RBAC manifests have been extended to accomodate both groups (thanks to @​tamcore).

What's Changed

Breaking changes
Fixes
Dependencies
Documentation
Other Changes

Full Changelog: https://github.com/grafana/grafana-operator/compare/v5.22.0...v5.22.1


Configuration

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [grafana/grafana-operator](https://github.com/grafana/grafana-operator) | patch | `v5.22.0` → `v5.22.1` | --- ### Release Notes <details> <summary>grafana/grafana-operator (grafana/grafana-operator)</summary> ### [`v5.22.1`](https://github.com/grafana/grafana-operator/releases/tag/v5.22.1) [Compare Source](https://github.com/grafana/grafana-operator/compare/v5.22.0...v5.22.1) #### Changes worth paying attention to - new `emptyDir` volume with `/tmp` mount point and deprecation of `TMPDIR` env: - starting from Grafana v12.4.0, plugins no longer have access to all environment variables by default ([PR](https://github.com/grafana/grafana/pull/113412)). It means that `TMPDIR` env, which we have previously used to override temporary location for plugin downloads, is now ignored. To mitigate that change on the operator side, we backed `/tmp` by an `emptyDir` volume and stopped adding `TMPDIR` env (the alternative was to generate `forward_host_env_vars` setting in `plugins` section of a `configMap`, which would be overly complex for our needs). It works with any Grafana version, so should be a transparent change for most users. In case you, for some reasons, have some manual volume overrides for `/tmp` as well, it would be a good idea to remove those; - deprecation of pre-provisioned receivers: - starting from Grafana v12.4.0, the pre-provisioned set of receivers has changed ([PR](https://github.com/grafana/grafana/pull/116368)), so, if you happen to rely on one of those (e.g. `default-receiver`, `grafana-default-email`), before upgrading to v12.4.0+, you should migrate to a custom receiver (use `GrafanaContactPoint` CR to provision one). It's also an option to rely on `empty` receiver instead, but it's available only in v12.4.0+, so you'd have to upgrade all matching Grafana instances at once; - RBAC for events: - with v5.22.0, you might have noticed in logs that the operator fails to generate `LeaderElection` events. It appears that controller-runtime still depends on core API (`""`) to generate this specific event. All the other events get recorded using `events.k8s.io` API group. Our RBAC manifests have been extended to accomodate both groups (thanks to [@&#8203;tamcore](https://github.com/tamcore)). #### What's Changed ##### Breaking changes - chore(deps): update docker.io/grafana/grafana docker tag to v12.4.0 by [@&#8203;renovate-sh-app](https://github.com/renovate-sh-app)\[bot] in [#&#8203;2539](https://github.com/grafana/grafana-operator/pull/2539) ##### Fixes - chore(deps): update dependency autoprefixer to ^10.4.24 by [@&#8203;renovate-sh-app](https://github.com/renovate-sh-app)\[bot] in [#&#8203;2541](https://github.com/grafana/grafana-operator/pull/2541) - fix(RBAC): LeaderElection events generation by [@&#8203;tamcore](https://github.com/tamcore) in [#&#8203;2548](https://github.com/grafana/grafana-operator/pull/2548) - fix(logging): `--zap-devel=true` does not enable debug logs by [@&#8203;Baarsgaard](https://github.com/Baarsgaard) in [#&#8203;2563](https://github.com/grafana/grafana-operator/pull/2563) - fix(Helm RBAC): Remove extra rolebinding when `namespaceScope=true` is set without `watchNamespaces` by [@&#8203;Baarsgaard](https://github.com/Baarsgaard) in [#&#8203;2570](https://github.com/grafana/grafana-operator/pull/2570) - fix(grafana): tmp dir permissions for plugin installation in grafana v12.4.0+ by [@&#8203;weisdd](https://github.com/weisdd) in [#&#8203;2574](https://github.com/grafana/grafana-operator/pull/2574) ##### Dependencies - fix(deps): update module k8s.io/apimachinery to v0.35.2 by [@&#8203;renovate-sh-app](https://github.com/renovate-sh-app)\[bot] in [#&#8203;2537](https://github.com/grafana/grafana-operator/pull/2537) - chore(deps): bump gateway-api to v1.5.0 by [@&#8203;weisdd](https://github.com/weisdd) in [#&#8203;2538](https://github.com/grafana/grafana-operator/pull/2538) - chore(deps): update fluxcd/flux2 action to v2.8.0 by [@&#8203;renovate-sh-app](https://github.com/renovate-sh-app)\[bot] in [#&#8203;2540](https://github.com/grafana/grafana-operator/pull/2540) - chore(deps): update actions/upload-artifact action to v7 by [@&#8203;renovate-sh-app](https://github.com/renovate-sh-app)\[bot] in [#&#8203;2542](https://github.com/grafana/grafana-operator/pull/2542) - fix(deps): update kubernetes packages to v0.35.2 by [@&#8203;renovate-sh-app](https://github.com/renovate-sh-app)\[bot] in [#&#8203;2545](https://github.com/grafana/grafana-operator/pull/2545) - chore(deps): update fluxcd/flux2 action to v2.8.1 by [@&#8203;renovate-sh-app](https://github.com/renovate-sh-app)\[bot] in [#&#8203;2547](https://github.com/grafana/grafana-operator/pull/2547) - fix(deps): update module k8s.io/apiextensions-apiserver to v0.35.2 by [@&#8203;renovate-sh-app](https://github.com/renovate-sh-app)\[bot] in [#&#8203;2546](https://github.com/grafana/grafana-operator/pull/2546) - chore(deps): update actions/attest-build-provenance action to v4 by [@&#8203;renovate-sh-app](https://github.com/renovate-sh-app)\[bot] in [#&#8203;2543](https://github.com/grafana/grafana-operator/pull/2543) - chore(deps): lock file maintenance by [@&#8203;renovate-sh-app](https://github.com/renovate-sh-app)\[bot] in [#&#8203;2544](https://github.com/grafana/grafana-operator/pull/2544) - chore(deps): update aquasecurity/trivy-action action to v0.34.2 by [@&#8203;renovate-sh-app](https://github.com/renovate-sh-app)\[bot] in [#&#8203;2551](https://github.com/grafana/grafana-operator/pull/2551) - fix(deps): update module k8s.io/klog/v2 to v2.140.0 by [@&#8203;renovate-sh-app](https://github.com/renovate-sh-app)\[bot] in [#&#8203;2554](https://github.com/grafana/grafana-operator/pull/2554) - chore(deps): update docker/login-action action to v4 by [@&#8203;renovate-sh-app](https://github.com/renovate-sh-app)\[bot] in [#&#8203;2555](https://github.com/grafana/grafana-operator/pull/2555) - chore(deps): update aquasecurity/trivy-action action to v0.35.0 by [@&#8203;renovate-sh-app](https://github.com/renovate-sh-app)\[bot] in [#&#8203;2556](https://github.com/grafana/grafana-operator/pull/2556) - chore(deps): update dependency kubernetes-sigs/controller-runtime to v0.23.3 by [@&#8203;renovate-sh-app](https://github.com/renovate-sh-app)\[bot] in [#&#8203;2558](https://github.com/grafana/grafana-operator/pull/2558) - fix(deps): update module sigs.k8s.io/controller-runtime to v0.23.3 by [@&#8203;renovate-sh-app](https://github.com/renovate-sh-app)\[bot] in [#&#8203;2559](https://github.com/grafana/grafana-operator/pull/2559) - chore(deps): lock file maintenance by [@&#8203;renovate-sh-app](https://github.com/renovate-sh-app)\[bot] in [#&#8203;2560](https://github.com/grafana/grafana-operator/pull/2560) - fix(deps): update go-openapi packages by [@&#8203;renovate-sh-app](https://github.com/renovate-sh-app)\[bot] in [#&#8203;2567](https://github.com/grafana/grafana-operator/pull/2567) - chore(deps): update module golang.org/x/net to v0.51.0 \[security] by [@&#8203;renovate-sh-app](https://github.com/renovate-sh-app)\[bot] in [#&#8203;2571](https://github.com/grafana/grafana-operator/pull/2571) - chore(deps): update docker.io/grafana/grafana docker tag to v12.4.1 by [@&#8203;renovate-sh-app](https://github.com/renovate-sh-app)\[bot] in [#&#8203;2572](https://github.com/grafana/grafana-operator/pull/2572) ##### Documentation - docs: dashboard v2 example by [@&#8203;theSuess](https://github.com/theSuess) in [#&#8203;2568](https://github.com/grafana/grafana-operator/pull/2568) ##### Other Changes - chore(tk8s): add more helpers, simplify range checking in getReceivers by [@&#8203;weisdd](https://github.com/weisdd) in [#&#8203;2532](https://github.com/grafana/grafana-operator/pull/2532) - chore(workflows): drop support for k8s v1.32 by [@&#8203;weisdd](https://github.com/weisdd) in [#&#8203;2550](https://github.com/grafana/grafana-operator/pull/2550) - chore(go): bump to 1.26.1 by [@&#8203;weisdd](https://github.com/weisdd) in [#&#8203;2557](https://github.com/grafana/grafana-operator/pull/2557) - chore(test): Extend Grafana testcontainer wait time by [@&#8203;Baarsgaard](https://github.com/Baarsgaard) in [#&#8203;2562](https://github.com/grafana/grafana-operator/pull/2562) - chore(NotificationPolicy): Remove duplicate nil check of annotations map by [@&#8203;Baarsgaard](https://github.com/Baarsgaard) in [#&#8203;2564](https://github.com/grafana/grafana-operator/pull/2564) **Full Changelog**: <https://github.com/grafana/grafana-operator/compare/v5.22.0...v5.22.1> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, 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 has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41OS4yIiwidXBkYXRlZEluVmVyIjoiNDMuNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXV0b21lcmdlIiwiaW1hZ2UiXX0=-->
renovate-bot added the automergeimage labels 2026-03-14 19:48:10 +00:00
renovate-bot added 1 commit 2026-03-14 19:48:13 +00:00
chore(deps): update dependency grafana/grafana-operator to v5.22.1
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
render-manifests-merge / render-manifests-merge (pull_request) Has been skipped
lint-test-helm / lint-helm (pull_request) Successful in 14s
render-manifests-automerge / render-manifests-automerge (pull_request) Successful in 30s
9430d7ba5c
renovate-bot scheduled this pull request to auto merge when all checks succeed 2026-03-14 19:48:16 +00:00
renovate-bot merged commit 48d8d45d32 into main 2026-03-14 19:48:21 +00:00
renovate-bot deleted branch renovate/unified-grafanagrafana-operator 2026-03-14 19:48:27 +00:00
Sign in to join this conversation.