mirror of
https://github.com/fluxcd/flux2-monitoring-example.git
synced 2024-12-14 10:47:31 +00:00
Merge pull request #9 from fluxcd/nc-v1beta3
KSM config: Update for NC v1beta3 API
This commit is contained in:
commit
913084eb4a
1 changed files with 2 additions and 4 deletions
|
@ -171,7 +171,7 @@ kube-state-metrics:
|
||||||
url: [ spec, url ]
|
url: [ spec, url ]
|
||||||
- groupVersionKind:
|
- groupVersionKind:
|
||||||
group: notification.toolkit.fluxcd.io
|
group: notification.toolkit.fluxcd.io
|
||||||
version: v1beta2
|
version: v1beta3
|
||||||
kind: Alert
|
kind: Alert
|
||||||
metricNamePrefix: gotk
|
metricNamePrefix: gotk
|
||||||
metrics:
|
metrics:
|
||||||
|
@ -184,11 +184,10 @@ kube-state-metrics:
|
||||||
name: [ metadata, name ]
|
name: [ metadata, name ]
|
||||||
labelsFromPath:
|
labelsFromPath:
|
||||||
exported_namespace: [ metadata, namespace ]
|
exported_namespace: [ metadata, namespace ]
|
||||||
ready: [ status, conditions, "[type=Ready]", status ]
|
|
||||||
suspended: [ spec, suspend ]
|
suspended: [ spec, suspend ]
|
||||||
- groupVersionKind:
|
- groupVersionKind:
|
||||||
group: notification.toolkit.fluxcd.io
|
group: notification.toolkit.fluxcd.io
|
||||||
version: v1beta2
|
version: v1beta3
|
||||||
kind: Provider
|
kind: Provider
|
||||||
metricNamePrefix: gotk
|
metricNamePrefix: gotk
|
||||||
metrics:
|
metrics:
|
||||||
|
@ -201,7 +200,6 @@ kube-state-metrics:
|
||||||
name: [ metadata, name ]
|
name: [ metadata, name ]
|
||||||
labelsFromPath:
|
labelsFromPath:
|
||||||
exported_namespace: [ metadata, namespace ]
|
exported_namespace: [ metadata, namespace ]
|
||||||
ready: [ status, conditions, "[type=Ready]", status ]
|
|
||||||
suspended: [ spec, suspend ]
|
suspended: [ spec, suspend ]
|
||||||
- groupVersionKind:
|
- groupVersionKind:
|
||||||
group: notification.toolkit.fluxcd.io
|
group: notification.toolkit.fluxcd.io
|
||||||
|
|
Loading…
Reference in a new issue