infra/k8s/monitoring/kustomization.yaml

21 lines
547 B
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: monitoring
resources:
- promtail.yaml
- ingresses.yaml
- secrets.yaml
- oauth2-proxy.yaml
secretGenerator:
- name: additional-scrape-configs
options:
disableNameSuffixHash: true
files:
- prom-scrape-configs/scrape-configs.yaml
configMapGenerator:
- name: grafana-dashboards-custom
options:
disableNameSuffixHash: true
files:
- grafana-dashboards/loki-and-promtail.json
- grafana-dashboards/node-exporter-full.json