fix(manifests): update Grafana ingress to use ingressClassName and correct indentation
Signed-off-by: 孙振宇 <>
This commit is contained in:
parent
9448d1c684
commit
463cdf3d85
@ -17,23 +17,20 @@ kind: Ingress
|
||||
metadata:
|
||||
name: grafana-ingress
|
||||
namespace: freeleaps-monitoring-system
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: nginx
|
||||
nginx.ingress.kubernetes.io/service-upstream: "true"
|
||||
nginx.ingress.kubernetes.io/upstream-vhost: "kube-prometheus-stack-grafana.freeleaps-monitoring-system.svc.freeleaps.cluster"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
- hosts:
|
||||
- grafana.mathmast.com
|
||||
secretName: grafana-dot-mathmast-com-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
|
||||
- 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