Files
infra/manifests/devops/grafanaChartConfig.yaml
2026-05-11 09:17:23 +02:00

58 lines
1.4 KiB
YAML

apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
name: grafana
namespace: devops
spec:
valuesContent: |-
# Disable etcd monitoring. See https://github.com/cablespaghetti/k3s-monitoring/issues/4
kubeEtcd:
enabled: false
# Disable kube-controller-manager and kube-scheduler monitoring. See https://github.com/cablespaghetti/k3s-monitoring/issues/2
kubeControllerManager:
enabled: false
kubeScheduler:
enabled: false
prometheus:
prometheusSpec:
retention: 3d
storageSpec:
spec:
accessModes:
- ReadWriteOnce
storageClassName: local-path
resources:
requests:
storage: 20Gi
grafana:
plugins:
- grafana-piechart-panel
enabled: true
grafana.ini:
users:
viewers_can_edit: true
auth:
disable_login_form: false
disable_signout_menu: false
auth.anonymous:
enabled: false
org_role: Admin
auth.basic:
enabled: true
persistence:
enabled: true
type: pvc
storageClassName: local-path
accessModes:
- ReadWriteOnce
size: 4Gi
finalizers:
- kubernetes.io/pvc-protection
# ALTERNATIVELY IF YOU HAVE AN EXISTING CLAME YOU WISH TO USE/REUSE
# existingClaim: prom-grafana