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:
parent
f2daebae75
commit
8293df123f
1 changed files with 5 additions and 0 deletions
|
|
@ -121,6 +121,11 @@ grafana:
|
||||||
# required with persistence enabled.
|
# required with persistence enabled.
|
||||||
deploymentStrategy:
|
deploymentStrategy:
|
||||||
type: Recreate
|
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
|
# Stable session-signing key. Without this Grafana generates a fresh
|
||||||
# secret_key on every boot, so every existing browser cookie becomes
|
# secret_key on every boot, so every existing browser cookie becomes
|
||||||
# "user token not found" and the client bounces on /. The Secret
|
# "user token not found" and the client bounces on /. The Secret
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue