feat(monitoring): add prometheus ingressroute http->https redirect
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: IngressRoute
|
||||||
|
metadata:
|
||||||
|
name: prometheus-http
|
||||||
|
namespace: monitoring
|
||||||
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- web
|
||||||
|
routes:
|
||||||
|
- match: Host(`prometheus.mpabi.pl`)
|
||||||
|
kind: Rule
|
||||||
|
middlewares:
|
||||||
|
- name: redirect-to-https
|
||||||
|
services:
|
||||||
|
- name: kube-prometheus-stack-prometheus
|
||||||
|
port: 9090
|
||||||
Reference in New Issue
Block a user