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