github grafana/grafana-operator v5.21.1

21 hours ago

NOTE: functionality-wise, v5.21.1 is the same as v5.21.0. - The patch release contains only a fix for our helm publishing workflow. Make sure to use 5.21.1 tag for helm chart.


Welcome to release 5.21.1 of the Grafana Operator!

It mainly includes bug fixes but also some cool new features (like kubernetes-native JWT authentication, HTTPRoute support or more flexible date parsing in alert rule groups).

We also made some changes to the helm chart. One minor change is that we removed the v prefix from our chart versions which should hopefully simplify OCI installations. We also aligned the image.repository value with other Grafana helm charts which might cause issues. More details can be found in the next section.

Breaking changes to the helm chart

If you've been using the image.repository field to change the image, this field has been split into registry and repository to align with the rest of the Grafana helm charts.

To migrate any custom values to this new format, follow this example:

Migration example

If your values.yaml contained this:

image:
  repository: example.com/my-custom/grafana-operator

you'll need to replace it with this:

image:
   registry: example.com
   repository: my-custom/grafana-operator
If you haven't changed this field in your values.yaml, you can safely ignore this.

Upgrade instructions

Using Helm

# Upgrade the operator image & deployment
helm upgrade -i grafana-operator oci://ghcr.io/grafana/helm-charts/grafana-operator --version 5.21.1
# Upgrading CRDs
kubectl apply --server-side --force-conflicts -f https://github.com/grafana/grafana-operator/releases/download/v5.21.1/crds.yaml

Using kubectl

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

Using kustomize

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

Fixes

  • fix: Allow multiple sharded instances to be hosted in one namespace with leader election by @Baarsgaard in #2265
  • fix(Annotations): Panic when applying annotations and map is nil by @Baarsgaard in #2278
  • fix(AlertRuleGroup): .spec.editable cannot be be disabled by @Miguel-Barros96 in #2276
  • fix(grafana): track events for all owned resources by @weisdd in #2299
  • fix(grafana): delete dangling ingress by @weisdd in #2298
  • fix(grafana): delete dangling route by @weisdd in #2301
  • fix(controllers): reflect changes in library panels by @weisdd in #2320
  • Update weekly sync link by @theSuess in #2344
  • fix(Grafana): CreateContainerConfigError with disableDefaultAdminSecret and admin secret missing by @Baarsgaard in #2356
  • fix(useKubeAuth): Require separate ServiceAccount token without K8s permissions by @Baarsgaard in #2371
  • fix(Release): Remove v prefix from Helm Chart version by @Baarsgaard in #2377
  • fix(controllers): reconcile drifted dashboards by @weisdd in #2381

Dependencies

  • chore(deps): bump sigstore/cosign-installer from 3.10.0 to 4.0.0 by @dependabot[bot] in #2224
  • fix(deps): update github.com/grafana/grafana-openapi-client-go digest to d92957c by @renovate-sh-app[bot] in #2228
  • fix(deps): update github.com/openshift/api digest to 8c9acca by @renovate-sh-app[bot] in #2229
  • fix(deps): update k8s.io/utils digest to bc988d5 by @renovate-sh-app[bot] in #2230

New Contributors

Full Changelog: v5.20.0...v5.21.0

Don't miss a new grafana-operator release

NewReleases is sending notifications on new releases.