Skip to content

v5.17.0

Latest
Compare
Choose a tag to compare
@theSuess theSuess released this 11 Mar 16:25
· 1 commit to master since this release
fb7788e

We're proud to announce version 5.17.0 of the Grafana Operator!

Highlights include recording rules, a service for HA configuration, sharding and memory optimizations.
The memory optimizations are currently opt-in. To try them out, configure the ENFORCE_CACHE_LABELS environment variable. See the comments in the helm values for more information.

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.0
# Upgrading CRDs
kubectl apply --server-side --force-conflicts -f https://github.com/grafana/grafana-operator/releases/download/v5.17.0/crds.yaml

Using kubectl

# Namespace Scope
kubectl replace -f https://github.com/grafana/grafana-operator/releases/download/v5.17.0/kustomize-namespace_scoped.yaml
# Cluster Scope
kubectl replace -f https://github.com/grafana/grafana-operator/releases/download/v5.17.0/kustomize-cluster_scoped.yaml 

Using kustomize

flux pull artifact oci://ghcr.io/grafana/kustomize/grafana-operator:v5.17.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.

Changelog:

Features

  • feat(controllers): optionally do not cache resources created without CommonLabels by @Baarsgaard in #1818
  • feat(runtime): automatically optimize Go runtime based on cgroup limits by @weisdd in #1839
  • feat: Allow to restrict the CRs watched according to their labels by @wilfriedroset in #1832
  • feat: enable setting labels just for pods by @diurnalist in #1876
  • feat: support top level configuration options by @theSuess in #1886
  • feat(GrafanaAlertRuleGroup): add support for Grafana-managed recording rules by @miinsun in #1881
  • feat: allow customizing admin url when using k8s service by @diurnalist in #1874

Fixes

  • Fix: Apply error condition never registered due to early return by @Baarsgaard in #1837
  • Fix: Finalize only deletes datasource from the first instance by @Baarsgaard in #1864
  • fix: folder title had to be unique by @jacobcrawford in #1859
  • fix: use specified name for dashboard env var using valueFrom by @theSuess in #1869
  • fix: include GrafanaLibraryPanel CRD in Kustomize artifacts by @Baarsgaard in #1875
  • fix(GrafanaDatasource): don't treat missing datasource as an error when deleting datasource by @lexhuismans in #1879
  • fix: correctly set encoder to allow logging settings to be overwritten using CLI flags by @theSuess in #1885
  • fix(controllers): set Status in synchronized condition to False when hitting apply errors by @weisdd in #1887

Dependencies

  • chore(deps): bump the gomod group with 5 updates by @dependabot in #1829
  • chore(deps): bump the gha group with 2 updates by @dependabot in #1830
  • chore(deps): bump sigs.k8s.io/controller-runtime from 0.20.0 to 0.20.1 in the gomod group by @dependabot in #1838
  • chore(deps): bump the gha group with 3 updates by @dependabot in #1848
  • chore(deps): bump golangci/golangci-lint-action from 6.3.1 to 6.5.0 in the gha group by @dependabot in #1866
  • chore(deps): bump the gomod group with 6 updates by @dependabot in #1871
  • chore(deps): bump the gha group with 2 updates by @dependabot in #1870
  • chore(deps): bump fluxcd/flux2 from 2.5.0 to 2.5.1 in the gha group by @dependabot in #1882
  • chore(deps): bump the gomod group with 3 updates by @dependabot in #1890

New Contributors

Full Changelog: v5.16.0...v5.17.0