-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
controller: reject adding ifaces to host networked pods
The controller unit tests were refactored a bit - creating the k8s client and the dummy controller - in a `JustBeforeEach` block to allow each `When` / `Context` block to define the pod previously. This way, there is a lot less duplicated code. Signed-off-by: Miguel Duarte Barroso <[email protected]>
- Loading branch information
Showing
2 changed files
with
72 additions
and
8 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