Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling dashboard ingressroute does not delete it #115

Closed
sshishov opened this issue Mar 16, 2020 · 5 comments · Fixed by #785
Closed

Disabling dashboard ingressroute does not delete it #115

sshishov opened this issue Mar 16, 2020 · 5 comments · Fixed by #785
Assignees
Labels
kind/bug/confirmed a confirmed bug (reproducible).

Comments

@sshishov
Copy link

If during initial setup you go with default settings then dashboard ingressroute is created. If you disable it afterwards and apply, ingressroute is still present and accessible.
I assume, if you disable dashboard, this ingress route should be deleted, even diff is showing that it will be deleted.
I suspect that actual problem is that the this route is created as hook.

@dtomcej
Copy link
Contributor

dtomcej commented Mar 16, 2020

@sshishov you are correct.

Because the ingressRoute is created as a hook, helm does not manage the created object.

If you want to disable the dashboard after having it enabled, you will have to manually delete the ingressRoute object.

@Nittarab
Copy link

Nittarab commented May 9, 2020

Hi, maybe I do something wrong.
I would not delete the dashboard. But I would be able to upgrade the chart, for example to improve the static configuration.

When I try to upgrade I get this error:

UPGRADE FAILED
Error: ingressroutes.traefik.containo.us "traefik-dashboard" already exists
Error: UPGRADE FAILED: ingressroutes.traefik.containo.us "traefik-dashboard" already exists

I'm using this commands to upgrade:

kubectl delete ingressroutes traefik-dashboard -n traefik
helm upgrade -f values.yaml traefik traefik/traefik

@arenstar
Copy link

arenstar commented Jun 6, 2020

Having the same problem as @Nittarab

@Nittarab
Copy link

Nittarab commented Jun 9, 2020

I didn't find any solution at the moment..

@jakubhajek
Copy link
Contributor

Hello @Nittarab @arenstar

I've installed Traefik and than added a few changes to the values.yaml and then successfully upgraded Traefik - no issue experienced with the ingressroutes/traefik-dashboard rule.

Would you please try the same with the latest version of the Helm Chart ? Thank you,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug/confirmed a confirmed bug (reproducible).
Projects
None yet
7 participants