|
@@ -19,22 +19,18 @@ spec:
|
|
###################################################
|
|
###################################################
|
|
# Grafana Ingres
|
|
# Grafana Ingres
|
|
###################################################
|
|
###################################################
|
|
-kind: Ingress
|
|
|
|
-apiVersion: networking.k8s.io/v1beta1
|
|
|
|
|
|
+apiVersion: traefik.containo.us/v1alpha1
|
|
|
|
+kind: IngressRoute
|
|
metadata:
|
|
metadata:
|
|
name: grafana
|
|
name: grafana
|
|
namespace: monitoring
|
|
namespace: monitoring
|
|
- annotations:
|
|
|
|
- traefik.ingress.kubernetes.io/router.entrypoints: web, websecure
|
|
|
|
- # traefik.ingress.kubernetes.io/router.tls.certresolver: letse
|
|
|
|
|
|
+
|
|
spec:
|
|
spec:
|
|
- rules:
|
|
|
|
- - host: grafana.monteasua.com.br
|
|
|
|
- http:
|
|
|
|
- paths:
|
|
|
|
- - path: ""
|
|
|
|
- backend:
|
|
|
|
- serviceName: grafana
|
|
|
|
- servicePort: 3000
|
|
|
|
|
|
+ routes:
|
|
|
|
+ - match: Host(`grafana.monteasua.com.br`)
|
|
|
|
+ kind: Rule
|
|
|
|
+ services:
|
|
|
|
+ - name: grafana
|
|
|
|
+ port: 3000
|
|
tls:
|
|
tls:
|
|
- secretName: monteasua-com-br-tls
|
|
|
|
|
|
+ secretName: monteasua-com-br-tls
|