From dd038ca9efa35badf6d7ce010d0c72b737b5a6c5 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sat, 15 Apr 2023 01:27:27 -0400 Subject: [PATCH] Fix kube-prom-stack helm chart --- .../kube-prometheus-stack/helm-release.yaml | 26 ++++++------------- 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/cluster/apps/monitoring/kube-prometheus-stack/helm-release.yaml b/cluster/apps/monitoring/kube-prometheus-stack/helm-release.yaml index aa8cca1..2a6cfab 100644 --- a/cluster/apps/monitoring/kube-prometheus-stack/helm-release.yaml +++ b/cluster/apps/monitoring/kube-prometheus-stack/helm-release.yaml @@ -25,12 +25,9 @@ spec: traefik.ingress.kubernetes.io/router.entrypoints: websecure traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd hosts: - - host: &alertmanager-host alertmanager.${SECRET_NEW_DOMAIN} - paths: - - path: / - pathType: Prefix - service: - number: 9093 + - &alertmanager-host alertmanager.${SECRET_NEW_DOMAIN} + paths: + - "/" tls: - hosts: - *alertmanager-host @@ -44,12 +41,8 @@ spec: traefik.ingress.kubernetes.io/router.entrypoints: websecure traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd hosts: - - host: &grafana-host grafana.${SECRET_NEW_DOMAIN} - paths: - - path: / - pathType: Prefix - service: - name: http-web + - &grafana-host grafana.${SECRET_NEW_DOMAIN} + path: "/" tls: - hosts: - *grafana-host @@ -67,12 +60,9 @@ spec: traefik.ingress.kubernetes.io/router.entrypoints: websecure traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd hosts: - - host: &prometheus-host metrics.${SECRET_NEW_DOMAIN} - paths: - - path: / - pathType: Prefix - service: - port: 9090 + - &prometheus-host metrics.${SECRET_NEW_DOMAIN} + paths: + - "/" tls: - hosts: - *prometheus-host