diff options
Diffstat (limited to 'third-party/grafana')
-rw-r--r-- | third-party/grafana/helmfile.yaml | 10 | ||||
-rw-r--r-- | third-party/grafana/values.yaml | 31 |
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 |