Skip to content

Commit 70e2613

Browse files
committed
added grafana ingress
1 parent a5d8c76 commit 70e2613

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
apiVersion: traefik.containo.us/v1alpha1
2+
kind: IngressRoute
3+
metadata:
4+
name: grafana-ingressroute
5+
namespace: monitoring
6+
spec:
7+
entryPoints:
8+
- websecure
9+
routes:
10+
- kind: Rule
11+
match: Host(`grafana.192.168.87.157.nip.io`)
12+
priority: 10
13+
services:
14+
- name: kube-prometheus-stack-grafana
15+
port: 80
16+
tls:
17+
secretName: grafana.192.168.87.157.nip.io
18+
---
19+
apiVersion: cert-manager.io/v1
20+
kind: Certificate
21+
metadata:
22+
name: grafana.192.168.87.157.nip.io
23+
namespace: monitoring
24+
spec:
25+
dnsNames:
26+
- grafana.192.168.87.157.nip.io
27+
secretName: grafana.192.168.87.157.nip.io
28+
issuerRef:
29+
name: selfsigned
30+
kind: ClusterIssuer

0 commit comments

Comments
 (0)