Files
homelab-gitops/apps/grafana/values.yaml
T
2026-10-19 09:30:39 +02:00

85 lines
2.1 KiB
YAML

admin:
existingSecret: grafana
testFramework:
enabled: false
ingress:
enabled: true
hosts:
- grafana.brunner.ninja
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
envFromSecret: grafana-postgres-secret
datasources:
datasources.yaml:
apiVersion: 1
datasources:
- name: Prometheus
uid: aevstx976yku8a
type: prometheus
access: proxy
url: http://prometheus-kube-prometheus-prometheus.prometheus.svc.cluster.local:9090
isDefault: false
editable: false
- name: Loki
uid: eevt1560lw3r4e
type: loki
access: proxy
url: http://loki.logging.svc.cluster.local:3100
isDefault: false
editable: false
jsonData:
maxLines: 5000
sidecar:
dashboards:
enabled: true
skipReload: true
label: grafana_dashboard
labelValue: "1"
searchNamespace: default
provider:
allowUiUpdates: true
grafana.ini:
server:
domain: grafana.brunner.ninja
root_url: https://%(domain)s/
smtp:
enabled: true
host: smtp-relay.gmail.com:587
skip_verify: false
from_address: alerts@brunner.ninja
from_name: Cluster Alerts
ehlo_identity: grafana.brunner.ninja
startTLS_policy: MandatoryStartTLS
database:
type: postgres
host: postgresql.default.svc.cluster.local
name: grafana
user: grafana
auth:
disable_login_form: true
signout_redirect_url: https://auth.brunner.ninja/application/o/grafana/end-session/
oauth_auto_login: true
auth.anonymous:
enabled: true
org_name: Main Org.
org_role: Viewer
hide_version: true
auth.generic_oauth:
name: brunner.ninja auth
enabled: true
client_id: 4UivQGE1FvTVrlQ6azzc7DroYDDoprRLNKCTpIgc
scopes: openid email profile
role_attribute_path: contains(groups, 'Grafana Admins') && 'Admin' || contains(groups, 'Grafana Editors') && 'Editor' || 'Viewer'
auth_url: https://auth.brunner.ninja/application/o/authorize/
token_url: https://auth.brunner.ninja/application/o/token/
api_url: https://auth.brunner.ninja/application/o/userinfo/
security:
allow_embedding: true
x_frame_options: ""