1
0
Fork 0
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:
Hidde Beydals 2023-12-12 17:29:34 +01:00 committed by GitHub
commit 913084eb4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -171,7 +171,7 @@ kube-state-metrics:
url: [ spec, url ]
- groupVersionKind:
group: notification.toolkit.fluxcd.io
version: v1beta2
version: v1beta3
kind: Alert
metricNamePrefix: gotk
metrics:
@ -184,11 +184,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:
@ -201,7 +200,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