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

Ignore ExternalName services #623

Merged
merged 3 commits into from
Jun 9, 2020

Conversation

jspdown
Copy link
Contributor

@jspdown jspdown commented Jun 5, 2020

What does this PR do?

This PR update the IgnoreWrapper so it ignores Services of type ExternalName.

Fixes #618

In the same time, I fixed an issue in the IgnoredWrapper on the way we handled ignored services. We weren't checking the type of the object, so if a pod had the same name as an ignored service we would have ignored it.

Some deadcode have also been removed.

How to test it

  • make test

pkg/k8s/ignore.go Outdated Show resolved Hide resolved
pkg/k8s/ignore.go Outdated Show resolved Hide resolved
Co-authored-by: Brendan Le Glaunec <[email protected]>
pkg/k8s/ignore.go Outdated Show resolved Hide resolved
Copy link
Member

@kevinpollet kevinpollet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚢

@kevinpollet kevinpollet added this to the v1.3 milestone Jun 9, 2020
@traefiker traefiker merged commit 27c229e into traefik:master Jun 9, 2020
@jspdown jspdown deleted the ignore-external-name-svc branch August 24, 2020 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error logs with msg "empty args for matcher Host"
4 participants