-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the correct kubeconfig when running in-cluster (#437)
* Improve a docstring. * When returning non-nil error, return nil config. This does not change kuttl behaviour, since all callers of Harness.Config() do not look at the config if a non-nil error is returned. The benefit is less cognitive effort when reading this function. * Extract a waitForFunctionalCluster method. Just to keep Config() more focused and not worry about details such as trying another namespace. Co-authored-by: Ken Sipe <kensipe@gmail.com> Signed-off-by: Marcin Owsiany <porridge@redhat.com>
- Loading branch information
Showing
2 changed files
with
32 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters