feat(manifests): add Grafana ingress and TLS certificate configuration
Signed-off-by: 孙振宇 <>
This commit is contained in:
parent
30fc78315d
commit
4a463e489f
@ -0,0 +1,36 @@
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: grafana-dot-mathmast-com
|
||||
namespace: freeleaps-monitoring-system
|
||||
spec:
|
||||
commonName: grafana.mathmast.com
|
||||
dnsNames:
|
||||
- grafana.mathmast.com
|
||||
issuerRef:
|
||||
kind: ClusterIssuer
|
||||
name: mathmast-dot-com
|
||||
secretName: grafana-dot-mathmast-com-tls
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: grafana-ingress
|
||||
namespace: freeleaps-monitoring-system
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
- hosts:
|
||||
- grafana.mathmast.com
|
||||
secretName: grafana-dot-mathmast-com-tls
|
||||
rules:
|
||||
- host: grafana.mathmast.com
|
||||
http:
|
||||
paths:
|
||||
- path: /*
|
||||
pathType: ImplementationSpecific
|
||||
backend:
|
||||
service:
|
||||
name: kube-prometheus-stack-grafana
|
||||
port:
|
||||
number: 80
|
||||
Loading…
Reference in New Issue
Block a user