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

Don't specify namespaceSelector when running in same namespace #1382

Closed
james-callahan opened this issue Sep 29, 2021 · 1 comment · Fixed by #1383
Closed

Don't specify namespaceSelector when running in same namespace #1382

james-callahan opened this issue Sep 29, 2021 · 1 comment · Fixed by #1383

Comments

@james-callahan
Copy link

#1343 broke namespace independence of ServiceMonitor resources.
namespaceSelector shouldn't be set unless it's pointing at a different namespace, or explicitly overridden

@sathieu
Copy link
Contributor

sathieu commented Sep 29, 2021

Thanks @james-callahan. Will propose a PR shortly.

sathieu added a commit to sathieu/helm-charts-prometheus-community that referenced this issue Sep 29, 2021
…nd use namespaceSelector only when needed

Fixes: prometheus-community#1382
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
sathieu added a commit to sathieu/helm-charts-prometheus-community that referenced this issue Oct 1, 2021
…tors

... when in the same namespace.

Fixes: prometheus-community#1382
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants