Add CommandRunner interface and fake_executor to mock kubectl command execution
Add warnings field to the Event struct
Update filter recommendation message format
Signed-off-by: Prasad Ghangal <prasad.ghangal@gmail.com>
* Include Namespace field only for Namespaced event notifs
This Commit
- includes namespace field only for namespaced objects notifs
- excludes namespace field from namespace independent resource events
* Enhance Update Event Notifications
This Commit,
- enhances update event notifications with details of what Spec is getting changed
- adds custom `SpecDiffReporter` and `utils.Diff()` method.
- adds update events in all config.yaml files
- adds unit-test for utils.Diff()
- adds update events for Deployment, Statefulset and Job by default.
- migrates the dependencies management from deb to go modules.
- `Gopkg.lock` and `Gopkg.toml` of dep removed and `go.mod` and `go.sum` of modules added
- replaces `dep endure` with `go mod verify` .travis.yaml
- updates vendor dependencies using `go mod tidy`,`go mod verify` and `go mod vendor` commands
- replaces `github.com/google/go-github/github` with `github.com/google/go-github/v27/github` for go module support in `pkg/controller/upgrade.go`