Skip to content

Commit

Permalink
Add new pods package for monitoring pod status (#341)
Browse files Browse the repository at this point in the history
* Add new pods package for monitoring pod status

* Switch to using core/v1.Pod rather than the generic map[string]any.

* Add in container image paths.

* Fully move over to use a client rather than cubectl.

* Bring test coverage to 100%

* Remove the testcmd directory, it should not have been incluced.

* Remove the testcmd directory, it should not have been incluced.

* Redelete testcmd after git added it back in.

* Make lint happy

* Simply creation of fake client

* Fix comment

* Allow configurations with no controllers.
  • Loading branch information
bormanp authored Mar 28, 2023
1 parent bed949c commit 6367e6c
Show file tree
Hide file tree
Showing 4 changed files with 3,922 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/deploy/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func newDeployment(cfgPath string, testing bool) (*deploy.Deployment, error) {
return nil, fmt.Errorf("CNI not specified")
}
if len(cfg.Controllers) == 0 {
return nil, fmt.Errorf("no controllers specified")
log.Infof("no controllers specified")
}
return &cfg, nil
}
Expand Down
Loading

0 comments on commit 6367e6c

Please sign in to comment.