infrastructure/k8s/roles/prometheus/templates/values.yaml.j2

66 lines
1.5 KiB
Django/Jinja

commonLabels:
prometheus: default
admin:
existingSecret: grafana-admin-credentials
userKey: user
passwordKey: password
defaultRules:
rules:
etcd: false
prometheus:
prometheusSpec:
retention: 7d
serviceMonitorNamespaceSelector:
matchLabels:
prometheus: default
serviceMonitorSelector:
matchLabels:
prometheus: default
storageSpec:
volumeClaimTemplate:
spec:
storageClassName: hcloud-volumes
resources:
requests:
storage: 15Gi
alertmanager:
enabled: false
kubeEtcd:
enabled: false
grafana:
ingress:
enabled: true
hosts:
- grafana.icb4dc0.de
grafana.ini:
server:
domain: grafana.icb4dc0.de
root_url: "https://%(domain)s"
database:
type: postgres
host: postgres-15-postgresql.postgres.svc.cluster.local:5432
name: grafana
user: "{{ grafana.db.user }}"
password: "{{ grafana.db.password }}"
ssl_mode: disable
auth:
disable_login_form: true
auth.generic_oauth:
name: Gitea
icon: signin
enabled: "true"
client_id: {{ grafana.auth.clientId }}
client_secret: {{ grafana.auth.clientSecret }}
empty_scopes: true
auth_url: https://code.icb4dc0.de/login/oauth/authorize
token_url: https://code.icb4dc0.de/login/oauth/access_token
api_url: https://code.icb4dc0.de/login/oauth/userinfo
persistence:
enabled: false
storageClassName: hcloud-volumes