mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-10 01:19:44 +00:00
52 lines
1.4 KiB
YAML
52 lines
1.4 KiB
YAML
victoria-metrics-k8s-stack:
|
|
nameOverride: monitoring
|
|
fullnameOverride: monitoring
|
|
argocdReleaseOverride: monitoring
|
|
|
|
vmsingle:
|
|
spec:
|
|
removePvcAfterDelete: true
|
|
storage:
|
|
storageClassName: local-path
|
|
|
|
grafana:
|
|
# secret grafana should be created manually
|
|
# it should contain:
|
|
# admin-user
|
|
# admin-password
|
|
# GF_AUTH_GITHUB_CLIENT_SECRET
|
|
admin:
|
|
existingSecret: grafana
|
|
envFromSecret: grafana
|
|
additionalDataSources:
|
|
- name: loki
|
|
type: loki
|
|
access: proxy
|
|
url: http://loki.logging:3100
|
|
version: 1
|
|
ingress:
|
|
enabled: true
|
|
ingressClassName: nginx
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: letsencrypt
|
|
hosts:
|
|
- grafana.gorilych.ru
|
|
tls:
|
|
- secretName: grafana-ingress-tls
|
|
hosts:
|
|
- grafana.gorilych.ru
|
|
persistence:
|
|
enabled: true
|
|
storageClassName: local-path
|
|
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
|