37 lines
799 B
YAML
37 lines
799 B
YAML
---
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: grafana
|
|
namespace: monitoring
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: grafana
|
|
version: 7.3.0
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: grafana
|
|
namespace: flux-system
|
|
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
|
|
|