We're proud to announce version 5.17.1 of the Grafana Operator!
This release mostly contains bugfixes and performance improvements. Most notably, issue #1917 has been fixed, and we have enabled the safe
caching mode by default.
Upgrade instructions
Using Helm
# Upgrade the operator image & deployment
helm upgrade -i grafana-operator oci://ghcr.io/grafana/helm-charts/grafana-operator --version v5.17.1
# Upgrading CRDs
kubectl apply --server-side --force-conflicts -f https://github.com/grafana/grafana-operator/releases/download/v5.17.1/crds.yaml
Using kubectl
# Namespace Scope
kubectl replace -f https://github.com/grafana/grafana-operator/releases/download/v5.17.1/kustomize-namespace_scoped.yaml
# Cluster Scope
kubectl replace -f https://github.com/grafana/grafana-operator/releases/download/v5.17.1/kustomize-cluster_scoped.yaml
Using kustomize
flux pull artifact oci://ghcr.io/grafana/kustomize/grafana-operator:v5.17.1 --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
Features
- feat(controllers): enrich instance metrics with instance_namespace label by @Baarsgaard in #1900
- feat(Grafana): add an option to disable default admin secret by @gmlexx in #1916
- feat(runtime): use safe caching mode by default by @weisdd in #1929
Fixes
- fix: add NotificationPolicyRoute to CSV base by @theSuess in #1892
- fix(GrafanaAlertRuleGroup): apply mute_time_intervals by @caiofralmeida in #1909
- fix(GrafanaNotificationPolicy): use patch instead of update when applying the notification policy annotation to avoid Grafana CR drift by @Baarsgaard in #1898
- fix(Grafana): avoid grafana-ini's configmap mount masking the existing files/directories by @wilfriedroset in #1928
- fix(Grafana): do not skip reconciliation if generation is the same as before by @weisdd in #1931
- fix(controllers): retry reconciliation for plugins and home dashboards and fix ownerReferences for plugins and Deployment by @weisdd in #1932
- fix(helm): use datasource variable in all panels of grafana-operator dashboard by @solidDoWant in #1927
- fix: use stricter validation for resyncPeriod by @theSuess in #1951
Dependencies
- chore(deps): bump golangci/golangci-lint-action from 6.5.0 to 6.5.1 in the gha group by @dependabot in #1905
- chore(deps): bump the gomod group with 3 updates by @dependabot in #1904
- chore(deps): bump the gomod group with 2 updates by @dependabot in #1911
- chore(deps): bump golangci/golangci-lint-action from 6.5.1 to 6.5.2 in the gha group across 1 directory by @dependabot in #1914
- chore(deps): bump sigs.k8s.io/controller-runtime from 0.20.3 to 0.20.4 in the gomod group by @dependabot in #1924
- chore(deps): bump the gomod group with 2 updates by @dependabot in #1938
- chore(deps): bump github.com/prometheus/client_golang from 1.21.1 to 1.22.0 in the gomod group by @dependabot in #1946
- chore(deps): bump the gomod group in /api with 7 updates by @dependabot in #1947
New Contributors
- @caiofralmeida made their first contribution in #1909
- @gmlexx made their first contribution in #1916
- @solidDoWant made their first contribution in #1927
Full Changelog: v5.17.0...v5.17.1