mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-13 11:17:30 +00:00
Since kube-prometheus-stack helm chart v32.2.0, the `labelValue` has to
be set to "1" for the default grafana dashboard label selector to select
the flux dashboard configuration.
Also, update kube-prometheus-stack to v34.7.0, latest.
Refer: eba5b198f5
Signed-off-by: Sunny <darkowlzz@protonmail.com>
13 lines
333 B
YAML
13 lines
333 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
namespace: flux-system
|
|
resources:
|
|
- podmonitor.yaml
|
|
configMapGenerator:
|
|
- name: flux-grafana-dashboards
|
|
files:
|
|
- ../grafana/dashboards/control-plane.json
|
|
- ../grafana/dashboards/cluster.json
|
|
options:
|
|
labels:
|
|
grafana_dashboard: "1"
|