From 197592021075f51df12d1358a4c817f97529b642 Mon Sep 17 00:00:00 2001 From: Michel Loiseleur Date: Mon, 17 Oct 2022 10:40:42 +0200 Subject: [PATCH] :bug: Disabling dashboard ingressroute should delete it Fixes #115 --- traefik/Chart.yaml | 2 +- ...board-hook-ingressroute.yaml => dashboard-ingressroute.yaml} | 1 - ...-ingressroute_test.yaml => dashboard-ingressroute_test.yaml} | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) rename traefik/templates/{dashboard-hook-ingressroute.yaml => dashboard-ingressroute.yaml} (94%) rename traefik/tests/{dashboard-hook-ingressroute_test.yaml => dashboard-ingressroute_test.yaml} (94%) diff --git a/traefik/Chart.yaml b/traefik/Chart.yaml index e26758a84..7781a2abe 100644 --- a/traefik/Chart.yaml +++ b/traefik/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: traefik description: A Traefik based Kubernetes ingress controller type: application -version: 15.2.0 +version: 15.2.1 appVersion: 2.9.1 keywords: - traefik diff --git a/traefik/templates/dashboard-hook-ingressroute.yaml b/traefik/templates/dashboard-ingressroute.yaml similarity index 94% rename from traefik/templates/dashboard-hook-ingressroute.yaml rename to traefik/templates/dashboard-ingressroute.yaml index d1f19dc63..f55a1afe5 100644 --- a/traefik/templates/dashboard-hook-ingressroute.yaml +++ b/traefik/templates/dashboard-ingressroute.yaml @@ -4,7 +4,6 @@ kind: IngressRoute metadata: name: {{ template "traefik.fullname" . }}-dashboard annotations: - helm.sh/hook: "post-install,post-upgrade" {{- with .Values.ingressRoute.dashboard.annotations }} {{- toYaml . | nindent 4 }} {{- end }} diff --git a/traefik/tests/dashboard-hook-ingressroute_test.yaml b/traefik/tests/dashboard-ingressroute_test.yaml similarity index 94% rename from traefik/tests/dashboard-hook-ingressroute_test.yaml rename to traefik/tests/dashboard-ingressroute_test.yaml index 10c7fcd4a..9ea9ec741 100644 --- a/traefik/tests/dashboard-hook-ingressroute_test.yaml +++ b/traefik/tests/dashboard-ingressroute_test.yaml @@ -1,6 +1,6 @@ suite: Dashboard IngressRoute configuration templates: - - dashboard-hook-ingressroute.yaml + - dashboard-ingressroute.yaml tests: - it: should allow disabling dashboard exposure using ingressRoute set: