mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-13 03:07:29 +00:00
- Automate kube-prometheus-stack helm release upgrades for the v35.x range - Remove deprecated Grafana settings - Set Prometheus retention to 24h - Label Flux dashboards and PodMonitors with `app.kubernetes.io/component: monitoring` - Change the `podMonitorSelector` to match the label `app.kubernetes.io/component: monitoring` Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
15 lines
399 B
YAML
15 lines
399 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
namespace: flux-system
|
|
resources:
|
|
- podmonitor.yaml
|
|
configMapGenerator:
|
|
- name: flux-grafana-dashboards
|
|
files:
|
|
- dashboards/control-plane.json
|
|
- dashboards/cluster.json
|
|
options:
|
|
labels:
|
|
grafana_dashboard: "1"
|
|
app.kubernetes.io/part-of: flux
|
|
app.kubernetes.io/component: monitoring
|