Welcome to release 5.25.0 of the Grafana Operator!
This release contains many bug fixes and contains a bunch of new features like:
- Public Dashboard support: Expose your dashboards to anonymous users in a declarative way
- Scale subresource suppport: Allows you to
kubectl scale --replicas=Xyour grafana instances & integrate with auto scalers - Variable support for dashboards: Set default values for your template variables from the
GrafanaDashboarddirectly
Thanks to everyone who contributed & reported bugs!
Upgrade instructions
Using Helm
# Upgrade the operator image & deployment
helm upgrade -i grafana-operator oci://ghcr.io/grafana/helm-charts/grafana-operator --version 5.25.0
# Upgrading CRDs
kubectl apply --server-side --force-conflicts -f https://github.com/grafana/grafana-operator/releases/download/v5.25.0/crds.yamlUsing kubectl
# Namespace Scope
kubectl replace -f https://github.com/grafana/grafana-operator/releases/download/v5.25.0/kustomize-namespace_scoped.yaml
# Cluster Scope
kubectl replace -f https://github.com/grafana/grafana-operator/releases/download/v5.25.0/kustomize-cluster_scoped.yaml Using kustomize
flux pull artifact oci://ghcr.io/grafana/kustomize/grafana-operator:v5.25.0 --output ./grafana-operator/Using OLM
Releases are published to operatorhub.io as well as the OpenShift Operator Catalog. Depending on the installation, existing installations will either upgrade automatically or require approval from an administrator.
What's Changed
Breaking changes
Features
- feat(CRDs): include in 'all' resource category by @weisdd in #2824
- feat(GrafanaDashboard): add support for public dashboards by @Baarsgaard in #2577
- feat(runtime): periodically update GOMEMLIMIT and allow configuring the memlimit/RAM ratio by @Baarsgaard in #2845
- feat(Grafana): add support for scale subresource by @benfiola in #2858
- feat(helm): render watchNamespaces through tpl by @jpescalona in #2862
- feat(helm): allow configuring dashboards-dir emptyDir volume by @dmaes in #2876
- feat(GrafanaDashboard): add spec.variables to override template variable defaults by @bosiakov in #2747
Fixes
- fix(GrafanaDashboard): clean up failed jsonnet project builds by @immanuwell in #2739
- fix(controllers): add a reconciliation delay upon UID changes in dashboards and datasources by @immanuwell in #2771
- fix(GrafanaDatasource): correctly handle already deleted datasource by @ChaoHuang2018 in #2767
- fix(controllers): clarify folderRef failures for legacy folders by @immanuwell in #2780
- fix(GrafanaManifest): always pass resourceVersion in update requests to avoid version mismatch errors by @roa-beep in #2865
- fix(controllers): avoid overwriting finalizers during resource cleanup by @heliapb in #2880
- fix(GrafanaManifest): add missing namespace info on delete by @theSuess in #2910
- fix(Grafana): use contents for tracking cm/secret state instead of resourceVersion by @theSuess in #2908
Dependencies
- fix(deps): update github.com/grafana/grafana-openapi-client-go digest to 399c666 by @renovate-sh-app[bot] in #2751
- fix(deps): update module github.com/onsi/ginkgo/v2 to v2.30.0 by @renovate-sh-app[bot] in #2753
- fix(deps): update kubernetes monorepo to v0.36.2 by @renovate-sh-app[bot] in #2754
- fix(deps): update kubernetes monorepo to v0.36.2 by @renovate-sh-app[bot] in #2756
- fix(deps): update module github.com/onsi/ginkgo/v2 to v2.31.0 by @renovate-sh-app[bot] in #2758
- fix(deps): update go-openapi packages to v0.32.4 by @renovate-sh-app[bot] in #2768
- fix(deps): update testcontainers-go monorepo to v0.43.0 by @renovate-sh-app[bot] in #2770
- chore(deps): update go-openapi packages by @renovate-sh-app[bot] in #2779
- chore(deps): update module github.com/klauspost/compress to v1.18.6 by @renovate-sh-app[bot] in #2778
- chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.2 by @renovate-sh-app[bot] in #2777
- chore(deps): update module github.com/ebitengine/purego to v0.10.1 by @renovate-sh-app[bot] in #2776
- chore(deps): update k8s.io/utils digest to a95e086 by @renovate-sh-app[bot] in #2774
- chore(deps): update github.com/google/pprof digest to 7023385 by @renovate-sh-app[bot] in #2772
- chore(deps): update github.com/lufia/plan9stats digest to c963978 by @renovate-sh-app[bot] in #2773
- chore(deps): update module github.com/fsnotify/fsnotify to v1.10.1 by @renovate-sh-app[bot] in #2783
- chore(deps): update module github.com/go-errors/errors to v1.5.1 by @renovate-sh-app[bot] in #2784
- chore(deps): update module github.com/go-ole/go-ole to v1.3.0 by @renovate-sh-app[bot] in #2785
- chore(deps): update module github.com/docker/go-connections to v0.7.0 by @renovate-sh-app[bot] in #2781
- chore(deps): update module github.com/grafana/grafana-app-sdk to v0.56.2 by @renovate-sh-app[bot] in #2787
- chore(deps): update module github.com/felixge/httpsnoop to v1.1.0 by @renovate-sh-app[bot] in #2782
- chore(deps): update module github.com/moby/moby/client to v0.5.0 by @renovate-sh-app[bot] in #2790
- chore(deps): update module github.com/moby/sys/sequential to v0.7.0 by @renovate-sh-app[bot] in #2791
- chore(deps): update module github.com/masterminds/semver/v3 to v3.5.0 by @renovate-sh-app[bot] in #2788
- chore(deps): update module github.com/prometheus/common to v0.69.0 by @renovate-sh-app[bot] in #2792
- chore(deps): update module github.com/tklauser/go-sysconf to v0.4.0 by @renovate-sh-app[bot] in #2794
- chore(deps): update module golang.org/x/net to v0.56.0 by @renovate-sh-app[bot] in #2798
- chore(deps): update module golang.org/x/crypto to v0.53.0 by @renovate-sh-app[bot] in #2796
- chore(deps): update module golang.org/x/tools to v0.46.0 by @renovate-sh-app[bot] in #2799
- chore(deps): update opentelemetry-go-contrib monorepo to v0.69.0 by @renovate-sh-app[bot] in #2800
- fix(deps): update module github.com/onsi/ginkgo/v2 to v2.32.0 by @renovate-sh-app[bot] in #2806
- chore(deps): update module github.com/moby/sys/user to v0.4.1 by @renovate-sh-app[bot] in #2811
- chore(deps): update module golang.org/x/tools to v0.47.0 by @renovate-sh-app[bot] in #2810
- chore(deps): update k8s.io/kube-openapi digest to 8f3fa49 by @renovate-sh-app[bot] in #2809
- chore: bump grafana to v13.1.0 by @weisdd in #2825
- fix(deps): update module github.com/go-openapi/strfmt to v0.26.4 by @renovate-sh-app[bot] in #2813
- fix(security/high/): update module oras.land/oras-go/v2 to v2.6.2 [security] by @renovate-sh-app[bot] in #2837
- fix(deps): update module sigs.k8s.io/gateway-api to v1.6.0 by @renovate-sh-app[bot] in #2829
- fix(deps): update module github.com/alecthomas/kong to v1.16.0 by @renovate-sh-app[bot] in #2846
- fix(deps): update module sigs.k8s.io/gateway-api to v1.6.1 by @renovate-sh-app[bot] in #2849
- fix(deps): update go-openapi packages by @renovate-sh-app[bot] in #2848
- fix(deps): update module github.com/prometheus/client_golang to v1.24.0 by @renovate-sh-app[bot] in #2854
- fix(deps): update module github.com/go-logr/logr to v1.4.4 by @renovate-sh-app[bot] in #2855
- fix(deps): update module github.com/go-openapi/runtime to v0.32.6 by @renovate-sh-app[bot] in #2856
- fix(deps): update kubernetes monorepo to v0.36.3 by @renovate-sh-app[bot] in #2859
- fix(deps): update module github.com/prometheus/client_golang to v1.24.1 by @renovate-sh-app[bot] in #2861
- fix(deps): update module github.com/go-openapi/runtime to v0.33.0 by @renovate-sh-app[bot] in #2867
- chore: update npm packages by @theSuess in #2869
- fix(deps): update github.com/grafana/grafana-openapi-client-go digest to 6029e6c by @renovate-sh-app[bot] in #2871
- fix(deps): update module github.com/testcontainers/testcontainers-go to v0.44.0 by @renovate-sh-app[bot] in #2884
- fix(deps): update module github.com/alecthomas/kong to v1.16.1 by @renovate-sh-app[bot] in #2886
- fix(deps): update module github.com/onsi/ginkgo/v2 to v2.32.1 by @renovate-sh-app[bot] in #2887
- fix(security/unknown/): update module golang.org/x/mod to v0.40.0 [security] by @renovate-sh-app[bot] in #2888
- fix(deps): update module github.com/stretchr/testify to v1.12.0 by @renovate-sh-app[bot] in #2891
- chore(go): bump to 1.26.6 by @weisdd in #2894
- chore: update grafana image to 13.1.3 by @theSuess in #2892
- fix(security/high/): update module github.com/moby/go-archive to v0.3.0 [security] by @renovate-sh-app[bot] in #2896
- fix(deps): update module github.com/stretchr/testify to v1.12.1 by @renovate-sh-app[bot] in #2898
- fix(deps): update kubernetes monorepo to v0.36.4 by @renovate-sh-app[bot] in #2905
- fix(deps): update module k8s.io/apiextensions-apiserver to v0.36.4 by @renovate-sh-app[bot] in #2907
Documentation
- docs(GrafanaDashboard): add note pointing people to GrafanaManifest for V2 dashboards by @Baarsgaard in #2757
- fix(docs): broken dashboard envFrom examples by @immanuwell in #2759
- docs(cli): add 'All settings' section covering CLI configuration options (--help) by @Baarsgaard in #2838
- proposal:
GrafanaSilencecrd by @smcavallo in #2877 - chore: release version 5.25.0 by @theSuess in #2909
Other Changes
- chore(controllers): refactor addFinalizer and simplify tests for removeFinalizer by @weisdd in #2893
New Contributors
- @ChaoHuang2018 made their first contribution in #2767
- @benfiola made their first contribution in #2858
- @jpescalona made their first contribution in #2862
- @roa-beep made their first contribution in #2865
- @smcavallo made their first contribution in #2877
- @dmaes made their first contribution in #2876
Full Changelog: v5.24.0...v5.25.0