补齐证书、秘密同步、GitOps 与数据服务监控 (#160)
yaml / yaml (push) Successful in 2m53s

Co-authored-by: panxiao81 <[email protected]>
This commit was merged in pull request #160.
This commit is contained in:
2026-09-25 19:36:30 +00:00
committed by panxiao81
parent acd4b55722
commit b75043cb45
9 changed files with 791 additions and 3 deletions
@@ -58,3 +58,197 @@ spec:
honorLabels: true
selfMonitor:
enabled: true
rbac:
extraRules:
- apiGroups:
- kustomize.toolkit.fluxcd.io
resources:
- kustomizations
verbs:
- list
- watch
- apiGroups:
- helm.toolkit.fluxcd.io
resources:
- helmreleases
verbs:
- list
- watch
- apiGroups:
- source.toolkit.fluxcd.io
resources:
- gitrepositories
- helmrepositories
- helmcharts
- ocirepositories
verbs:
- list
- watch
customResourceState:
enabled: true
config:
kind: CustomResourceStateMetrics
spec:
resources:
- groupVersionKind:
group: kustomize.toolkit.fluxcd.io
version: v1
kind: Kustomization
metricNamePrefix: gotk
metrics:
- name: resource_info
help: The current state of a GitOps Toolkit resource.
each:
type: Info
info:
labelsFromPath:
name:
- metadata
- name
labelsFromPath:
resource_namespace:
- metadata
- namespace
suspended:
- spec
- suspend
ready:
- status
- conditions
- '[type=Ready]'
- status
- groupVersionKind:
group: helm.toolkit.fluxcd.io
version: v2
kind: HelmRelease
metricNamePrefix: gotk
metrics:
- name: resource_info
help: The current state of a GitOps Toolkit resource.
each:
type: Info
info:
labelsFromPath:
name:
- metadata
- name
labelsFromPath:
resource_namespace:
- metadata
- namespace
suspended:
- spec
- suspend
ready:
- status
- conditions
- '[type=Ready]'
- status
- groupVersionKind:
group: source.toolkit.fluxcd.io
version: v1
kind: GitRepository
metricNamePrefix: gotk
metrics:
- name: resource_info
help: The current state of a GitOps Toolkit resource.
each:
type: Info
info:
labelsFromPath:
name:
- metadata
- name
labelsFromPath:
resource_namespace:
- metadata
- namespace
suspended:
- spec
- suspend
ready:
- status
- conditions
- '[type=Ready]'
- status
- groupVersionKind:
group: source.toolkit.fluxcd.io
version: v1
kind: HelmRepository
metricNamePrefix: gotk
metrics:
- name: resource_info
help: The current state of a GitOps Toolkit resource.
each:
type: Info
info:
labelsFromPath:
name:
- metadata
- name
labelsFromPath:
resource_namespace:
- metadata
- namespace
suspended:
- spec
- suspend
ready:
- status
- conditions
- '[type=Ready]'
- status
- groupVersionKind:
group: source.toolkit.fluxcd.io
version: v1
kind: HelmChart
metricNamePrefix: gotk
metrics:
- name: resource_info
help: The current state of a GitOps Toolkit resource.
each:
type: Info
info:
labelsFromPath:
name:
- metadata
- name
labelsFromPath:
resource_namespace:
- metadata
- namespace
suspended:
- spec
- suspend
ready:
- status
- conditions
- '[type=Ready]'
- status
- groupVersionKind:
group: source.toolkit.fluxcd.io
version: v1
kind: OCIRepository
metricNamePrefix: gotk
metrics:
- name: resource_info
help: The current state of a GitOps Toolkit resource.
each:
type: Info
info:
labelsFromPath:
name:
- metadata
- name
labelsFromPath:
resource_namespace:
- metadata
- namespace
suspended:
- spec
- suspend
ready:
- status
- conditions
- '[type=Ready]'
- status