-
Notifications
You must be signed in to change notification settings - Fork 397
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
[Bug] instanceSelector.matchExpressions not working for GrafanaDatasource #1401
Comments
Thanks for a well described issue @sebbbastien .
So I used matchLabels instead. instanceSelector:
matchLabels:
dashboards: grafana And then I didn't get the same issue. So in the meantime, I would suggest using this solution. |
Hi ! |
I think is not implemented correctly in
I will try to fix this and ask for PR |
@Ronan-WeScale I'm not saying this is the way it should be, I'm saying that you can potentially use a workaround by using matchLabels. We have accepted the triage and any help we can get to fix this is greatly appreciated. |
Hi @NissesSenap I'm not good in golang but I do my best for this PR #1497. |
Describe the bug
instanceSelector.matchExpressions
does not work as expected.Version
Operator version: v5.6.1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
According to
instanceSelector.matchExpressions
:Loki datasource
should only be present on staging.Loki datasource hidden
should not be present.Screenshots
Staging:
Production:
Runtime (please complete the following information):
The text was updated successfully, but these errors were encountered: