فهرست منبع

add alt names for prometheus

Breandan Dezendorf 2 سال پیش
والد
کامیت
03fdb1cc79
1فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 5 5
      dezendorf/homelab/k3s/monitoring/ingress.yaml

+ 5 - 5
dezendorf/homelab/k3s/monitoring/ingress.yaml

@@ -8,7 +8,7 @@ spec:
   entryPoints:
     - websecure
   routes:
-  - match: Host(`prometheus.dezendorf.net`)
+  - match: (Host(`prometheus.dezendorf.net`)||Host(`prometheusr.dezendorf.net`))
     kind: Rule
     services:
     - name: prometheus-operated
@@ -25,7 +25,7 @@ spec:
   entryPoints:
     - websecure
   routes:
-  - match: Host(`grafana.dezendorf.net`)
+  - match: (Host(`grafana.dezendorf.net`)||Host(`grafanar.dezendorf.net`))
     kind: Rule
     services:
     - name: prometheus-grafana
@@ -42,7 +42,7 @@ spec:
   entryPoints:
     - web
   routes:
-  - match: Host(`alertmanager.dezendorf.net`)
+  - match: (Host(`alertmanager.dezendorf.net`)||Host(`alertmanagerr.dezendorf.net`))
     kind: Rule
     middlewares:
     - name: redirecthttps
@@ -59,7 +59,7 @@ spec:
   entryPoints:
     - websecure
   routes:
-  - match: Host(`logs.dezendorf.net`)
+  - match: (Host(`logs.dezendorf.net`)||Host(`logsr.dezendorf.net`))
     kind: Rule
     services:
     - name: loki
@@ -76,7 +76,7 @@ spec:
   entryPoints:
     - web
   routes:
-  - match: Host(`logs.dezendorf.net`)
+  - match: (Host(`logs.dezendorf.net`)||Host(`logsr.dezendorf.net`))
     kind: Rule
     middlewares:
     - name: redirecthttps