Skip to content
This repository was archived by the owner on Jul 5, 2023. It is now read-only.

Support all allowed Kubernetes labels #118

Merged
merged 4 commits into from
Aug 18, 2020
Merged

Support all allowed Kubernetes labels #118

merged 4 commits into from
Aug 18, 2020

Conversation

maxbischoff
Copy link
Member

@maxbischoff maxbischoff commented Aug 18, 2020

Fixes: #104

@maxbischoff maxbischoff requested a review from johscheuer August 18, 2020 11:46
When discovering test cases pytest also runs the function called in
parametrize, causing e2e runs to fail due to missing nmap dependency.
This commit refactors the runner tests to only initilize the nmap
PortScanner when the test cases are actually run.
@johscheuer johscheuer changed the title Fix #104 Support all allowed Kubernetes labels Aug 18, 2020
@codecov
Copy link

codecov bot commented Aug 18, 2020

Codecov Report

Merging #118 into master will increase coverage by 1.20%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #118      +/-   ##
==========================================
+ Coverage   37.67%   38.88%   +1.20%     
==========================================
  Files          11       11              
  Lines        1327     1332       +5     
  Branches      265      265              
==========================================
+ Hits          500      518      +18     
+ Misses        775      764      -11     
+ Partials       52       50       -2     
Impacted Files Coverage Δ
src/illuminatio/host.py 64.39% <100.00%> (+10.06%) ⬆️
src/illuminatio/rule.py 56.00% <0.00%> (+2.66%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 113ffec...aadfd3d. Read the comment docs.

@maxbischoff maxbischoff requested a review from johscheuer August 18, 2020 13:06
Copy link
Contributor

@johscheuer johscheuer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! Please squash your commits!

@maxbischoff maxbischoff merged commit 6d0ef48 into inovex:master Aug 18, 2020
@maxbischoff maxbischoff deleted the reproduce-labels-dot-bug branch August 18, 2020 13:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NetworkPolicies are translated into ExternalHosts when pod selector contains dots
2 participants