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

Fix duplication of ConfigFrontend snippets for DefaultBackend #352

Merged
merged 1 commit into from
Jun 30, 2019

Conversation

gavinbunney
Copy link

This fixes an issue where any frontend configuration is duplicated twice for the default backend.

Example for a config-frontend in the ConfigMap of http-response add-header my-header results in two headers my-header in the response from the default backend.

This is particularly bad when forcing http to https redirection using config-frontend we were seeing an infinite loop of redirects for unknown ingress endpoints rather than a 404.

This fixes an issue where any frontend configuration is duplicated twice for the default backend, e.g. config-frontend in the ConfigMap of `http-response add-header my-header` results in two headers `my-header` in the response from the default backend
@jcmoraisjr
Copy link
Owner

Hi, good catch. Makes sense since the default backend is always behind another frontend, hence the duplication. Merging and cherry-picking to v0.7.

@jcmoraisjr jcmoraisjr merged commit d85fa4e into jcmoraisjr:master Jun 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants