Add kubectl install to Dockerfile with multi-arch support - #1237
Conversation
|
can you please trigger security scan for this and check if its alright. https://github.com/simplyblock/sbcli/actions/workflows/security.yml |
The scan as result of this package |
|
Looks like the scan is failing for this branch. But works fine for |
The fix will be to cut a new kubectl release compiled with patched module versions. don't know if we should do that or not. |
|
definitely not 😅 . why is this |
To run the collect logs script from the admin-control pod to be able to collect logs from pods |
https://github.com/simplyblock/sbcli/blob/main/simplyblock_core/scripts/collect_logs.py |
|
Since kubernetes python library is already present, I think we should use those libraries
we should also think about how kubeconfig is passed. |
Hmm, I see. I will check how possible this is to get large amount of log data. |
|
if its too much of an effort, we can ignore this security scan. what do you think? |
…py and add missing task-runner services
… kubectl with kubernetes Python client
it seems to have worked |
* Add kubectl install to Dockerfile with multi-arch support * Fix kubectl not found by installing to /usr/local/bin * replace kubectl binary with kubernetes Python client in collect_logs.py and add missing task-runner services * fix collect_logs: use since_seconds instead of since_time and replace kubectl with kubernetes Python client
No description provided.