about summary refs log tree commit diff
path: root/third-party/grafana
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-06-27 23:50:06 +0200
committermakefunstuff <[email protected]>2024-06-27 23:50:06 +0200
commite63ad3ad429513a731778f118283092e9efab83f (patch)
treec35993515654ea4ab883afec0b94629869b5c040 /third-party/grafana
parent608a95ca4fa23d2aef9a121a285f8332313df54c (diff)
downloadk3s-lab-e63ad3ad429513a731778f118283092e9efab83f.tar.gz
grafana
Diffstat (limited to 'third-party/grafana')
-rw-r--r--third-party/grafana/helmfile.yaml10
-rw-r--r--third-party/grafana/values.yaml31
2 files changed, 41 insertions, 0 deletions
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