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

request filter filter: labelSelector=app.kubernetes.io/managed-by=kubewarden not working in shell 0.5.3 #645

Open
aalves08 opened this issue Mar 13, 2024 · 1 comment
Labels
kind/bug Something isn't working

Comments

@aalves08
Copy link
Member

aalves08 commented Mar 13, 2024

While doing a developer load of Kubewarden for the Policy Reports with filter: labelSelector=app.kubernetes.io/managed-by=kubewarden, it's not working against Rancher 2.8.2 or shell 0.5.3.

Once we've figured where exactly the problem lies, we need to bring back the selector selector: 'app.kubernetes.io/managed-by=kubewarden' to the fetchPolicyReports function in modules/policyReporter.ts

also, the dispatch in fetchPolicyReports should be cluster/findMatching and not cluster/findAll

return await store.dispatch('cluster/findMatching', {
    type:     WG_POLICY_K8S.POLICY_REPORT.TYPE,
    selector: 'app.kubernetes.io/managed-by=kubewarden'
  }, { root: true });

Maybe we can get this back when releasing Rancher Dashboard 2.9.0

@aalves08 aalves08 added the kind/bug Something isn't working label Mar 13, 2024
@aalves08
Copy link
Member Author

FYI @jordojordo

@aalves08 aalves08 added this to the 1.4.x milestone Mar 22, 2024
@jordojordo jordojordo modified the milestones: 1.4.x, 1.5.0 Apr 24, 2024
@jordojordo jordojordo modified the milestones: 1.5.0, 1.5.x May 2, 2024
@jordojordo jordojordo removed this from the 1.5.x milestone Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants