grafana update to 9.3.1-bb.2 (Passthrough Update)
Package Merge Request
Package Changes
https://repo1.dso.mil/big-bang/product/packages/grafana/-/blob/9.3.1-bb.2/CHANGELOG.md
Package MR
big-bang/product/packages/grafana!205 (merged)
For Issue
Closes big-bang/product/packages/grafana#160 (closed)
Upgrade Notices
There are two major upgrade notices 1) passthrough refactor and 2) upgrade job for redeploying immutable deployment.
Passthrough Refactor: The grafana chart has been refactored to the Big Bang "passthrough" chart pattern - please read this upgrade notice is its entirety. All upstream chart value overrides in ./chart/values.yaml will need to be shifted under the upstream key.
Example:
Previous Values:
grafana:
values:
image:
registry: registry1.dso.mil
repository: ironbank/big-bang/grafana/grafana-plugins
tag: "12.1.0"
...
Current Values:
grafana:
values:
upstream:
image:
registry: registry1.dso.mil
repository: ironbank/big-bang/grafana/grafana-plugins
tag: "12.1.0"
...
Please note, this change does not apply to Big Bang-added top-level keys, including: istio
, networkPolicies
, serviceMonitor
, monitoring
, openshift
, enterprise
, alertmanager
, sso
, autoRollingUpgrade
, and bbtests
.
Upgrade Job for Immutable Deployment: As apart of the conversion to the Big Bang passthrough chart pattern, immutable labels/selectors have been updated and will require a recreation of the Grafana deployment resource. Big Bang has added a job to automatically handle this as a pre-upgrade helm hook but requires an additional value to be set: .Values.autoRollingUpgrade.enabled
grafana:
enabled: true
...
values:
autoRollingUpgrade:
enabled: true
Alternatively, you may manually delete the grafana deployment prior to upgrade using standard kubectl commands kubectl delete deploy -l app.kubernetes.io/name=grafana -n monitoring
but do note that drift detection must be disabled on the monitoring helm release to avoid recreation.