From e63ad3ad429513a731778f118283092e9efab83f Mon Sep 17 00:00:00 2001 From: makefunstuff Date: Fri, 28 Jun 2024 00:50:06 +0300 Subject: grafana --- third-party/grafana/helmfile.yaml | 10 ++++++++++ third-party/grafana/values.yaml | 31 +++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 third-party/grafana/helmfile.yaml create mode 100644 third-party/grafana/values.yaml (limited to 'third-party/grafana') diff --git a/third-party/grafana/helmfile.yaml b/third-party/grafana/helmfile.yaml new file mode 100644 index 0000000..3c98528 --- /dev/null +++ b/third-party/grafana/helmfile.yaml @@ -0,0 +1,10 @@ +repositories: + - name: grafana + url: https://grafana.github.io/helm-charts + +releases: + - name: grafana + namespace: monitoring + chart: grafana/grafana + values: + - ./values.yaml diff --git a/third-party/grafana/values.yaml b/third-party/grafana/values.yaml new file mode 100644 index 0000000..fb6a2e0 --- /dev/null +++ b/third-party/grafana/values.yaml @@ -0,0 +1,31 @@ +adminUser: admin +adminPassword: secret +persistence: + enabled: true + size: 5Gi +datasources: + datasources.yaml: + apiVersion: 1 + datasources: + - name: Prometheus + type: prometheus + url: http://prometheus-server + access: proxy + isDefault: true +service: + type: ClusterIP + port: 80 +ingress: + enabled: true + annotations: + traefik.ingress.kubernetes.io/redirect-entry-point: https + traefik.ingress.kubernetes.io/router.entrypoints: websecure + traefik.ingress.kubernetes.io/router.tls: "true" + traefik.ingress.kubernete.io/router.tls.certresolver: default + traefik.ingress.kubernetes.io/router.tls.domains.0.main: topkek.cloud + traefik.ingress.kubernetes.io/router.tls.domains.0.sans: grafana.topkek.cloud + labels: {} + hosts: + - grafana.topkek.cloud + path: / + pathType: Prefix -- cgit 1.4.1-2-gfad0