Add flux events command
This adds a command to Flux which behaves similarly as `kubectl events`, including the Flux sources events when showing events for top level objects, thus making debugging easy for Flux users. For example, `flux events --for kustomization/<name>` includes the events of its source (e.g. a `GitRepository`, `OCIRepository` or `Bucket`). In addition, `flux events --for helmrelease/<name>` includes events of the `HelmChart` and `HelmRepository`. While `flux events --for alerts/<name>` includes the events of the `Provider`. Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
This commit is contained in:
committed by
Hidde Beydals
parent
2589c90c25
commit
5b18289808
1
go.mod
1
go.mod
@@ -14,6 +14,7 @@ require (
|
||||
github.com/fluxcd/image-reflector-controller/api v0.26.0
|
||||
github.com/fluxcd/kustomize-controller/api v0.35.0
|
||||
github.com/fluxcd/notification-controller/api v0.33.0
|
||||
github.com/fluxcd/pkg/apis/event v0.4.1
|
||||
github.com/fluxcd/pkg/apis/meta v0.19.1
|
||||
github.com/fluxcd/pkg/git v0.11.0
|
||||
github.com/fluxcd/pkg/git/gogit v0.8.1
|
||||
|
||||
Reference in New Issue
Block a user