v5.25.0
CompareGitHub
<!-- Release notes generated using configuration in .github/release.yml at master --> 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
- chore(controllers): deprecate support for k8s 1.33 and Grafana 10 by @weisdd in https://github.com/grafana/grafana-operator/pull/2818
Features
- feat(CRDs): include in 'all' resource category by @weisdd in https://github.com/grafana/grafana-operator/pull/2824
- feat(GrafanaDashboard): add support for public dashboards by @Baarsgaard in https://github.com/grafana/grafana-operator/pull/2577
- feat(runtime): periodically update GOMEMLIMIT and allow configuring the memlimit/RAM ratio by @Baarsgaard in https://github.com/grafana/grafana-operator/pull/2845
- feat(Grafana): add support for scale subresource by @benfiola in https://github.com/grafana/grafana-operator/pull/2858
- feat(helm): render watchNamespaces through tpl by @jpescalona in https://github.com/grafana/grafana-operator/pull/2862
- feat(helm): allow configuring dashboards-dir emptyDir volume by @dmaes in https://github.com/grafana/grafana-operator/pull/2876
- feat(GrafanaDashboard): add spec.variables to override template variable defaults by @bosiakov in https://github.com/grafana/grafana-operator/pull/2747
Fixes
- fix(GrafanaDashboard): clean up failed jsonnet project builds by @immanuwell in https://github.com/grafana/grafana-operator/pull/2739
- fix(controllers): add a reconciliation delay upon UID changes in dashboards and datasources by @immanuwell in https://github.com/grafana/grafana-operator/pull/2771
- fix(GrafanaDatasource): correctly handle already deleted datasource by @ChaoHuang2018 in https://github.com/grafana/grafana-operator/pull/2767
- fix(controllers): clarify folderRef failures for legacy folders by @immanuwell in https://github.com/grafana/grafana-operator/pull/2780
- fix(GrafanaManifest): always pass resourceVersion in update requests to avoid version mismatch errors by @roa-beep in https://github.com/grafana/grafana-operator/pull/2865
- fix(controllers): avoid overwriting finalizers during resource cleanup by @heliapb in https://github.com/grafana/grafana-operator/pull/2880
- fix(GrafanaManifest): add missing namespace info on delete by @theSuess in https://github.com/grafana/grafana-operator/pull/2910
- fix(Grafana): use contents for tracking cm/secret state instead of resourceVersion by @theSuess in https://github.com/grafana/grafana-operator/pull/2908
Dependencies
- fix(deps): update github.com/grafana/grafana-openapi-client-go digest to 399c666 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2751
- fix(deps): update module github.com/onsi/ginkgo/v2 to v2.30.0 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2753
- fix(deps): update kubernetes monorepo to v0.36.2 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2754
- fix(deps): update kubernetes monorepo to v0.36.2 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2756
- fix(deps): update module github.com/onsi/ginkgo/v2 to v2.31.0 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2758
- fix(deps): update go-openapi packages to v0.32.4 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2768
- fix(deps): update testcontainers-go monorepo to v0.43.0 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2770
- chore(deps): update go-openapi packages by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2779
- chore(deps): update module github.com/klauspost/compress to v1.18.6 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2778
- chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.2 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2777
- chore(deps): update module github.com/ebitengine/purego to v0.10.1 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2776
- chore(deps): update k8s.io/utils digest to a95e086 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2774
- chore(deps): update github.com/google/pprof digest to 7023385 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2772
- chore(deps): update github.com/lufia/plan9stats digest to c963978 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2773
- chore(deps): update module github.com/fsnotify/fsnotify to v1.10.1 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2783
- chore(deps): update module github.com/go-errors/errors to v1.5.1 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2784
- chore(deps): update module github.com/go-ole/go-ole to v1.3.0 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2785
- chore(deps): update module github.com/docker/go-connections to v0.7.0 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2781
- chore(deps): update module github.com/grafana/grafana-app-sdk to v0.56.2 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2787
- chore(deps): update module github.com/felixge/httpsnoop to v1.1.0 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2782
- chore(deps): update module github.com/moby/moby/client to v0.5.0 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2790
- chore(deps): update module github.com/moby/sys/sequential to v0.7.0 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2791
- chore(deps): update module github.com/masterminds/semver/v3 to v3.5.0 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2788
- chore(deps): update module github.com/prometheus/common to v0.69.0 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2792
- chore(deps): update module github.com/tklauser/go-sysconf to v0.4.0 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2794
- chore(deps): update module golang.org/x/net to v0.56.0 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2798
- chore(deps): update module golang.org/x/crypto to v0.53.0 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2796
- chore(deps): update module golang.org/x/tools to v0.46.0 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2799
- chore(deps): update opentelemetry-go-contrib monorepo to v0.69.0 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2800
- fix(deps): update module github.com/onsi/ginkgo/v2 to v2.32.0 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2806
- chore(deps): update module github.com/moby/sys/user to v0.4.1 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2811
- chore(deps): update module golang.org/x/tools to v0.47.0 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2810
- chore(deps): update k8s.io/kube-openapi digest to 8f3fa49 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2809
- chore: bump grafana to v13.1.0 by @weisdd in https://github.com/grafana/grafana-operator/pull/2825
- fix(deps): update module github.com/go-openapi/strfmt to v0.26.4 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2813
- fix(security/high/): update module oras.land/oras-go/v2 to v2.6.2 [security] by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2837
- fix(deps): update module sigs.k8s.io/gateway-api to v1.6.0 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2829
- fix(deps): update module github.com/alecthomas/kong to v1.16.0 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2846
- fix(deps): update module sigs.k8s.io/gateway-api to v1.6.1 by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2849
- fix(deps): update go-openapi packages by @renovate-sh-app[bot] in https://github.com/grafana/grafana-operator/pull/2848
- fix(deps): update module github.com/prometheus/client_golang to v1.24.0 by @renovate-sh-app[bot] i
…(truncated)