mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 09:59:43 +00:00
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
grafana:
|
|
# secret grafana should be created manually
|
|
# it should contain:
|
|
# admin-user
|
|
# admin-password
|
|
# GF_AUTH_GITHUB_CLIENT_SECRET
|
|
admin:
|
|
existingSecret: grafana
|
|
envFromSecret: grafana
|
|
ingress:
|
|
enabled: true
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: letsencrypt
|
|
hosts:
|
|
- grafana.gorilych.ru
|
|
tls:
|
|
- hosts:
|
|
- grafana.gorilych.ru
|
|
secretName: grafana-tls
|
|
grafana.ini:
|
|
server:
|
|
root_url: https://grafana.gorilych.ru
|
|
auth.github:
|
|
enabled: true
|
|
allow_sign_up: false
|
|
client_id: 6494b9ed39a915d9ac20
|
|
# client_secret: in grafana secret
|
|
scopes: user:email,read:org
|
|
auth_url: https://github.com/login/oauth/authorize
|
|
token_url: https://github.com/login/oauth/access_token
|
|
api_url: https://api.github.com/user
|
|
datasources:
|
|
datasources.yaml:
|
|
apiVersion: 1
|
|
datasources:
|
|
- name: Prometheus
|
|
type: prometheus
|
|
access: direct
|
|
url: http://prometheus-operated.monitoring:9090
|
|
isDefault: true
|
|
editable: false
|