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

Service/Pod connection broken when selector contain multiple labels #22

Open
ClementGautier opened this issue Dec 23, 2019 · 0 comments

Comments

@ClementGautier
Copy link

My services uses multiple labels to target their pods (like many helm chart):

spec:
  selector:
    app: my-app
    release: my-release

Unfortunately the fetch.js only test the first label:

if (serviceArray[j].selector[serviceSelectorKey[0]] === podArray[k].labels[podLabelsKey[0]]) {

It looks like this repository is not actively maintained but in case a maintainer comes by...

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

No branches or pull requests

1 participant