feat(monitoring): add prometheus ingressroute http->https redirect

This commit is contained in:
u1
2026-02-14 10:53:39 +00:00
parent 7ef3ffe62c
commit 19e7e48190

View File

@@ -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