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:
|
metadata:
|
||||||
name: grafana-ingress
|
name: grafana-ingress
|
||||||
namespace: freeleaps-monitoring-system
|
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:
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- grafana.mathmast.com
|
- grafana.mathmast.com
|
||||||
secretName: grafana-dot-mathmast-com-tls
|
secretName: grafana-dot-mathmast-com-tls
|
||||||
rules:
|
rules:
|
||||||
- host: grafana.mathmast.com
|
- host: grafana.mathmast.com
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /*
|
- path: /*
|
||||||
pathType: ImplementationSpecific
|
pathType: ImplementationSpecific
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: kube-prometheus-stack-grafana
|
name: kube-prometheus-stack-grafana
|
||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
||||||
Loading…
Reference in New Issue
Block a user