1
0
Fork 0

feat(bee): add grafana

See: https://grafana.ops.vmhq.io/
This commit is contained in:
Vojtěch Mareš 2023-01-14 20:09:29 +01:00
parent 1d50173978
commit 7315f78572
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

View file

@ -0,0 +1,66 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: grafana-ops
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: grafana-ops
server: https://kubernetes.default.svc
project: default
source:
repoURL: https://grafana.github.io/helm-charts
chart: grafana
targetRevision: grafana-6.50.0
helm:
releaseName: grafana-ops
values: |
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: letsencrypt-mareshq
hosts:
- grafana.ops.vmhq.io
tls:
- secretName: grafana-ops-tls
hosts:
- grafana.ops.vmhq.io
persistence:
enabled: true
storageClassName: hcloud-volumes
service:
serviceMonitor:
enabled: true
adminUser: admin
adminPassword: ubk_gmh_PAM5rve@cbr
datasources:
datasources.yaml:
apiVersion: 1
datasources:
- name: Cluster Prometheus
type: prometheus
url: http://monitoring-prometheus.monitoring:9090
access: proxy
isDefault: true
- name: Cluster Loki
type: loki
url: http://loki-gateway.logging:80
access: proxy
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true