cyclops-ui / cyclops

Developer Friendly Kubernetes 👁️
https://cyclops-ui.com
Apache License 2.0
2.43k stars 779 forks source link

`cyctl` reconcile module command #586

Open petar-cvit opened 13 hours ago

petar-cvit commented 13 hours ago

Is your feature request related to a problem? Please describe. Implement a cyctl subcommand to trigger module reconciliation. The subcommand does the same thing as the reconcile button on the module details page.

Screenshot 2024-09-23 at 15 57 18

The subcommand should look like:

cyctl reconcile <module name>

Describe the solution you'd like You can trigger the reconciliation by fetching the module, adding the cyclops/reconciled-at with the current timestamp and updating the Module using a kubernetes client.

You can check the implementation of the same reconciliation triggering in cyclops-ctrl here.

Abiji-2020 commented 2 hours ago

@petar-cvit I am interested to work on this Issue. I have to create a command and get the module name and have to update with the annotation implemented similar to the reconciliation triggering in cyclops-ctrl ?