home-server/deployments-old/monitoring/grafana.yaml

38 lines
799 B
YAML
Raw Permalink Normal View History

2025-07-10 16:28:34 +10:00
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: grafana
2025-07-10 20:00:02 +10:00
namespace: monitoring
2025-07-10 16:28:34 +10:00
spec:
interval: 30m
chart:
spec:
chart: grafana
version: 7.3.0
sourceRef:
kind: HelmRepository
name: grafana
2025-07-10 20:00:02 +10:00
namespace: flux-system
2025-07-10 16:28:34 +10:00
install:
createNamespace: true
values:
admin:
existingSecret: grafana-admin-secret
userKey: admin-user
passwordKey: admin-password
service:
type: LoadBalancer
annotations:
external-dns.alpha.kubernetes.io/hostname: "grafana.hxme.net"
datasources:
datasources.yaml:
apiVersion: 1
datasources:
- name: Loki
type: loki
access: proxy
url: http://loki:3100
isDefault: true