aquasecurity / kube-hunter

Hunt for security weaknesses in Kubernetes clusters
Apache License 2.0
4.71k stars 581 forks source link

Add PyInstaller build #302

Closed iyehuda closed 4 years ago

iyehuda commented 4 years ago

Description

Add standard method for building with PyInstaller. Use staticx to generate a single static binary. PyInstaller and staticx builds given as Makefile targets pyinstaller and pyinstaller_static accordingly.

Contribution Guidelines

Please Read through the Contribution Guidelines.

Fixed Issues

Resolves #301

Contribution checklist

Notes

No functionality added, therefore, there's nothing to cover with tests.

codecov-io commented 4 years ago

Codecov Report

Merging #302 into master will increase coverage by 0.2%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #302     +/-   ##
=========================================
+ Coverage    59.8%   60.01%   +0.2%     
=========================================
  Files          39       39             
  Lines        1928     1928             
=========================================
+ Hits         1153     1157      +4     
+ Misses        775      771      -4
Impacted Files Coverage Δ
kube_hunter/core/events/handler.py 90.9% <0%> (+1.01%) :arrow_up:
kube_hunter/modules/discovery/ports.py 88.46% <0%> (+11.53%) :arrow_up:

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 fe187bc...4989d9b. Read the comment docs.

itaysk commented 4 years ago

I'm unclear about the motivation for this pr, commented in the associated issue.