grafana: null out rollingUpdate with the Recreate strategy

The existing Deployment still owns strategy.rollingUpdate from the previous
release; omitting it in SSA does not drop it and Helm fails the upgrade.
This commit is contained in:
Lance Walters 2026-10-27 00:55:28 -04:00
commit 8293df123f

View file

@ -121,6 +121,11 @@ grafana:
# required with persistence enabled.
deploymentStrategy:
type: Recreate
# Explicit null: the pre-existing Deployment carries rollingUpdate settings
# from the previous release and server-side apply will not drop them by
# omission, which fails with "may not be specified when strategy type is
# Recreate". Rendering the null is what removes the stale field.
rollingUpdate: null
# Stable session-signing key. Without this Grafana generates a fresh
# secret_key on every boot, so every existing browser cookie becomes
# "user token not found" and the client bounces on /. The Secret