github grafana/grafana-operator v5.20.0

16 hours ago

Welcome to release 5.20.0 of the Grafana Operator!

The biggest new feature is support for service account management using the operator. We also added some other quality of live improvements (like the ability to use latest as a plugin version) and implemented some long overdue bug fixes!

Upgrade instructions

Using Helm

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

Using kubectl

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

Using kustomize

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

Features

  • feat(plugins): add support for latest version, fix version preference for duplicate plugins by @weisdd in #2158
  • Manage Grafana Service Accounts from the Grafana CR by @ndk in #2125
  • feat: added watchers for cm, secrets in datasource_controller by @vignesh-codes in #2178
  • feat: Option to auto-upgrade CRDs with Helm by @denis-ryzhkov in #2192
  • feat: added watchers for cm, secrets in contactpoint_controller by @vignesh-codes in #2202
  • feat: added reconcile logic for secrets in serviceaccount_controller by @vignesh-codes in #2203

Fixes

  • fix(plugins): properly handle version preference in Sanitize, add CRD plugin validations by @weisdd in #2162
  • fix(plugins): ConfigMap key collisions for cross-namespace ds/db/lp with the same names by @weisdd in #2170
  • fix(plugins): remove ConfigMap key if no plugins left by @weisdd in #2179
  • fix(librarypanel): finalize plugins, mitigate HTTP errors for non-existent panels by @weisdd in #2180

Dependencies

  • chore(deps): bump github.com/docker/go-connections from 0.5.0 to 0.6.0 in the gomod group by @dependabot[bot] in #2140
  • chore(deps): bump actions/download-artifact from 4 to 5 by @dependabot[bot] in #2139
  • chore(deps): bump the gha group with 2 updates by @dependabot[bot] in #2138
  • chore(deps): bump actions/create-github-app-token from 2.1.0 to 2.1.1 in the gha group by @dependabot[bot] in #2148
  • chore(deps): bump the gomod group with 4 updates by @dependabot[bot] in #2147
  • chore(deps): bump actions/checkout from 4.2.2 to 5.0.0 by @dependabot[bot] in #2150
  • chore(deps): bump actions/upload-pages-artifact from 3.0.1 to 4.0.0 by @dependabot[bot] in #2149
  • chore(deps): bump the gomod group with 3 updates by @dependabot[bot] in #2155
  • chore(deps): bump azure/setup-helm from 4.3.0 to 4.3.1 in the gha group by @dependabot[bot] in #2154
  • chore(deps): bump aquasecurity/trivy-action from 0.32.0 to 0.33.0 in the gha group by @dependabot[bot] in #2164
  • chore(deps): bump actions/attest-build-provenance from 2.4.0 to 3.0.0 by @dependabot[bot] in #2165
  • chore(deps): bump the gomod group with 2 updates by @dependabot[bot] in #2181
  • chore(deps): bump actions/setup-python from 5.6.0 to 6.0.0 by @dependabot[bot] in #2183
  • chore(deps): bump the gha group with 2 updates by @dependabot[bot] in #2182
  • chore(deps): bump actions/labeler from 5.0.0 to 6.0.1 by @dependabot[bot] in #2185
  • chore(deps): bump actions/stale from 9.1.0 to 10.0.0 by @dependabot[bot] in #2186
  • chore(deps): bump actions/setup-go from 5.5.0 to 6.0.0 by @dependabot[bot] in #2184
  • chore(deps): bump the gha group with 2 updates by @dependabot[bot] in #2197
  • chore(deps): bump the gomod group with 5 updates by @dependabot[bot] in #2196
  • chore(deps): bump github.com/testcontainers/testcontainers-go from 0.38.0 to 0.39.0 in the gomod group by @dependabot[bot] in #2199
  • chore(deps): bump the gomod group with 2 updates by @dependabot[bot] in #2204
  • chore(deps): bump github.com/onsi/ginkgo/v2 from 2.25.3 to 2.26.0 in the gomod group by @dependabot[bot] in #2211
  • chore(deps): bump the gha group with 4 updates by @dependabot[bot] in #2212
  • chore(deps): bump the gha group with 2 updates by @dependabot[bot] in #2219
  • chore(deps): bump sigs.k8s.io/controller-runtime from 0.22.1 to 0.22.3 in the gomod group by @dependabot[bot] in #2218

New Contributors

Full Changelog: v5.19.0...v5.20.0

Don't miss a new grafana-operator release

NewReleases is sending notifications on new releases.