Revert "chore(prometheus): drop dead grafana routes and cert"

This reverts commit 314ec0cda7.
This commit is contained in:
forust committed 2026-10-03 10:40:39 +02:00
1 parent 7a81b4ea8b
commit 64ba4ce9f1
2 files changed
+46

No files matched your search

+13
View File
@@ -1,5 +1,18 @@
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: grafana-prod-tls
namespace: prometheus
spec:
secretName: grafana-prod-tls
dnsNames:
- grafana.forust.xyz
issuerRef:
name: letsencrypt-prod
kind: ClusterIssuer
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: internal-wildcard-tls
namespace: prometheus
+33
View File
@@ -0,0 +1,33 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: grafana-prod
namespace: prometheus
spec:
entryPoints:
- websecure
routes:
- match: Host(`grafana.forust.xyz`)
kind: Rule
services:
- name: prometheus-stack-grafana
port: 80
tls:
secretName: grafana-prod-tls
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: grafana-local
namespace: prometheus
spec:
entryPoints:
- websecure
routes:
- match: Host(`grafana.workstation.internal`) || Host(`grafana.gigaforust.internal`)
kind: Rule
services:
- name: prometheus-stack-grafana
port: 80
tls:
secretName: internal-wildcard-tls