apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: monitoring
resources:
- namespace.yaml
- release.yaml
- podmonitor/flux.yaml
configMapGenerator:
- name: kube-prometheus-stack-values
  files:
  - values.yaml=values.yaml
- name: kube-prometheus-stack-grafana-dashboards-nginx
  files:
  - nginx.json=grafana/dashboards/nginx/nginx.json
- name: kube-prometheus-stack-grafana-dashboards-linstor
  files:
  - linstor-drbd.json=grafana/dashboards/linstor/linstor_drbd.json
- name: kube-prometheus-stack-grafana-dashboards-cilium
  files:
  - cilium-dashboard.json=grafana/dashboards/cilium/cilium-dashboard.json
- name: kube-prometheus-stack-grafana-dashboards-cilium-operator
  files:
  - cilium-operator-dashboard.json=grafana/dashboards/cilium-operator/cilium-operator-dashboard.json
- name: kube-prometheus-stack-grafana-dashboards-hubble
  files:
  - hubble-dashboard.json=grafana/dashboards/hubble/hubble-dashboard.json
- name: kube-prometheus-stack-grafana-dashboards-qbittorrent
  files:
  - qbittorrent-drbd.json=grafana/dashboards/qbittorrent/qbittorrent-dashboard_rev4.json
- name: kube-prometheus-stack-grafana-dashboards-node-exporter
  files:
  - node-exporter-full.json=grafana/dashboards/node-exporter/node-exporter-full.json
- name: kube-prometheus-stack-grafana-dashboards-keda
  files:
  - keda-dashboard.json=grafana/dashboards/keda/keda-dashboard.json
- name: kube-prometheus-stack-grafana-dashboards-network-interfaces
  files:
  - network-interfaces-dashboard.json=grafana/dashboards/network-interfaces/network-interfaces-dashboard.json
- name: kube-prometheus-stack-grafana-dashboards-lvm
  files:
  - lvm.json=grafana/dashboards/lvm/lvm-dashboard.json
- name: kube-prometheus-stack-grafana-dashboards-restic
  files:
  - restic.json=grafana/dashboards/restic/restic-dashboard.json
- name: kube-prometheus-stack-grafana-dashboards-windows-exporter
  files:
  - windows-exporter.json=grafana/dashboards/windows-exporter/windows-exporter-dashboard.json
- name: kube-prometheus-stack-grafana-dashboards-blackbox
  files:
  - blackbox.json=grafana/dashboards/blackbox/blackbox-dashboard.json
- name: kube-prometheus-stack-grafana-dashboards-obs
  files:
  - obs.json=grafana/dashboards/obs/obs-dashboard.json
- name: kube-prometheus-stack-grafana-dashboards-flux
  files:
  - cluster.json=grafana/dashboards/flux/cluster.json
  - control-plane.json=grafana/dashboards/flux/control-plane.json
  - logs.json=grafana/dashboards/flux/logs.json
patchesStrategicMerge:
- grafana/dashboards/nginx/configmap.yaml
- grafana/dashboards/linstor/configmap.yaml
- grafana/dashboards/cilium/configmap.yaml
- grafana/dashboards/cilium-operator/configmap.yaml
- grafana/dashboards/hubble/configmap.yaml
- grafana/dashboards/qbittorrent/configmap.yaml
- grafana/dashboards/node-exporter/configmap.yaml
- grafana/dashboards/keda/configmap.yaml
- grafana/dashboards/network-interfaces/configmap.yaml
- grafana/dashboards/lvm/configmap.yaml
- grafana/dashboards/restic/configmap.yaml
- grafana/dashboards/windows-exporter/configmap.yaml
- grafana/dashboards/blackbox/configmap.yaml
- grafana/dashboards/obs/configmap.yaml
- grafana/dashboards/flux/configmap.yaml
configurations:
- kustomizeconfig.yaml
