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

Emit Kubernetes events for policy status change #616

Closed
viccuad opened this issue Jan 22, 2024 · 2 comments
Closed

Emit Kubernetes events for policy status change #616

viccuad opened this issue Jan 22, 2024 · 2 comments
Labels

Comments

@viccuad
Copy link
Member

viccuad commented Jan 22, 2024

This comes from https://www.youtube.com/watch?v=KbKQu3AqhBY.

Currently only tracing and monitoring give insights on Kubewarden policy state.

Policies have status (unscheduled, pending, active). But that that if policies are already deployed and active in a policy-server, scheduling a change of them (for rules, settings, etc), would not move back to pending and again to active. Since the old instantiated policy is still reachable via the webhook and the old policy-server pod. This can be confusing in UI and for new users.

Acceptance criteria

  • Emit Kubernetes events when policies change the status (to unscheduleded, pending, to active).
  • Consider emitting a specific event when a policy is already active yet is being updated (with new rules, settings, etc).
  • Add integration tests for the events.
@viccuad
Copy link
Member Author

viccuad commented Jan 26, 2024

Having events would help downstream (such as Kubewarden UI) in checking against them, instead of only looking at state. Amelioriating things like rancher/kubewarden-ui#543.

@flavio
Copy link
Member

flavio commented Nov 4, 2024

Closing for now. We didn't get any request about this feature from the actual users of KW and we have more pressing things to do. We can come back to this issue based on community feedback

@flavio flavio closed this as completed Nov 4, 2024
@kkaempf kkaempf added the status/wontfix This will not be worked on label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

3 participants