Jeff Goldschrafe
d224752cf1
Minor fixes to nsenter connection plugin ( #249 )
...
* Minor fixes to nsenter connection plugin
- Ensure the nsoption_pid option is retrieved in _connect instead of
__init__ to prevent a crasher due to initialization order
- Replace the use of --all-namespaces with specific namespaces to
support compatibility with Busybox nsenter (for example, Alpine)
* minor tidy
* Fix PEP8 violation
* Changelog fragment
* Update changelogs/fragments/249-nsenter-fixes.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Jeff Goldschrafe <jeff.goldschrafe@flatiron.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2021-12-09 05:53:43 +01:00
Jeff Goldschrafe
2a9bc7f74e
Add nsenter connection plugin ( #173 )
...
* Add nsenter connection plugin
* Fixes
* oops
* Pass file I/O through nsenter, removing volume mount
* minor logging cleanup for consistency's sake
* Fix pylint flag
* Update plugins/connection/nsenter.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/connection/nsenter.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/connection/nsenter.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/connection/nsenter.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/connection/nsenter.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Fix note formatting
* Revert string_types change
* Update tests/integration/targets/connection_nsenter/aliases
* Update tests/integration/targets/connection_nsenter/runme.sh
* Apply suggestions from code review
* Update tests/integration/targets/connection_nsenter/runme.sh
* Update tests/integration/targets/connection_nsenter/runme.sh
* Apply suggestions from code review
* Update tests/integration/targets/connection_nsenter/runme.sh
* Update tests/integration/targets/connection_nsenter/aliases
* Update plugins/connection/nsenter.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/connection/nsenter.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/connection/nsenter.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/connection/nsenter.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Remove specific pipelining support
* Update plugins/connection/nsenter.py
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2021-08-02 08:17:53 +02:00