Commit Graph

1 Commits

Author SHA1 Message Date
Xavi Garcia 8873b79905
Adds k8s events to the gitopts controller (#2698)
* Adds k8s events to the gitopts controller

Adds events for failures so the user gets information faster when there's no access to logs.
Adds also events when we get a new commit, then the gitjob is recreated or deleted

Refers to: https://github.com/rancher/fleet/issues/2674

Co-authored-by: Corentin Néau <tan.neau@suse.com>
Signed-off-by: Xavi Garcia <xavi.garcia@suse.com>

---------

Signed-off-by: Xavi Garcia <xavi.garcia@suse.com>
Co-authored-by: Corentin Néau <tan.neau@suse.com>
2024-08-07 17:48:11 +02:00