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

Fix dashboard policyServerPod card display #521

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

jordojordo
Copy link
Member

Fix #514

The policy server pods were not updating due to using the ResourceManager mixin from @rancher/shell, this mixin does not allow for watching of new resources, thus the card was unable to update with new information until the page was refreshed or recreated.

Changed the methods to add a watcher on all pods with the kubewarden/policy-server label.

ps-pods.mp4

@jordojordo jordojordo requested a review from aalves08 October 20, 2023 12:41
Copy link
Member

@aalves08 aalves08 left a comment

Choose a reason for hiding this comment

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

LGTM

@jordojordo jordojordo merged commit 421023f into rancher:main Oct 20, 2023
2 checks passed
@jordojordo jordojordo deleted the dashboard-ps-pods branch October 20, 2023 15:33
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

Successfully merging this pull request may close these issues.

Policy Server Pods counter does not update
2 participants