Skip to content

Commit

Permalink
removed middleware from ingressroute, it was never working, and its m…
Browse files Browse the repository at this point in the history
  • Loading branch information
ashish1099 committed Aug 20, 2024
1 parent dcf4385 commit 4019afc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
10 changes: 0 additions & 10 deletions argocd-helm-charts/prometheus-linuxaid/templates/middleware.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,14 @@ kind: IngressRoute
metadata:
name: prometheus-{{ .Values.customerid }}
namespace: monitoring-{{ .Values.customerid }}
annotations:
traefik.ingress.kubernetes.io/router.middlewares: monitoring-{{ .Values.customerid }}-ipwhitelist-{{ .Values.customerid }}@kubernetescrd
spec:
entryPoints:
- websecure
routes:
- kind: Rule
match: Host(`{{ .Values.prometheus.server }}`) && PathPrefix(`/{{ .Values.customerid }}`)
- match: Host(`{{ .Values.prometheus.server }}`) && PathPrefix(`/{{ .Values.customerid }}`)
priority: 10
services:
- kind: Service
name: prometheus-main
- name: prometheus-main
namespace: monitoring-{{ .Values.customerid }}
passHostHeader: true
port: web
Expand Down

0 comments on commit 4019afc

Please sign in to comment.