mirror of
https://github.com/fluxcd/flux2-monitoring-example.git
synced 2024-12-14 10:47:31 +00:00
KSM config: Update for NC v1beta3 API
The alert and provider APIs from notification-controller no longer have status to report readiness. Dashboards should be designed to assume Ready=True for no status. The Flux Cluster Stats dashboard already does this for the objects it shows. Signed-off-by: Sunny <darkowlzz@protonmail.com>
This commit is contained in:
parent
21c9646949
commit
14e2f5ae56
1 changed files with 2 additions and 4 deletions
|
@ -168,7 +168,7 @@ kube-state-metrics:
|
|||
url: [ spec, url ]
|
||||
- groupVersionKind:
|
||||
group: notification.toolkit.fluxcd.io
|
||||
version: v1beta2
|
||||
version: v1beta3
|
||||
kind: Alert
|
||||
metricNamePrefix: gotk
|
||||
metrics:
|
||||
|
@ -181,11 +181,10 @@ kube-state-metrics:
|
|||
name: [ metadata, name ]
|
||||
labelsFromPath:
|
||||
exported_namespace: [ metadata, namespace ]
|
||||
ready: [ status, conditions, "[type=Ready]", status ]
|
||||
suspended: [ spec, suspend ]
|
||||
- groupVersionKind:
|
||||
group: notification.toolkit.fluxcd.io
|
||||
version: v1beta2
|
||||
version: v1beta3
|
||||
kind: Provider
|
||||
metricNamePrefix: gotk
|
||||
metrics:
|
||||
|
@ -198,7 +197,6 @@ kube-state-metrics:
|
|||
name: [ metadata, name ]
|
||||
labelsFromPath:
|
||||
exported_namespace: [ metadata, namespace ]
|
||||
ready: [ status, conditions, "[type=Ready]", status ]
|
||||
suspended: [ spec, suspend ]
|
||||
- groupVersionKind:
|
||||
group: notification.toolkit.fluxcd.io
|
||||
|
|
Loading…
Reference in a new issue