You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[release-1.11] NETOBSERV-2598: NETOBSERV-2517: Remove dependency on oc/kubectl (#461)
* Remove dependency on oc/kubectl
* Prevent future path traversal
The --filename argument of the go binary, which isn't used at the
moment, is not sanitized for path traversal. This could be an unnoticed
vulnerability if we chose to leverage it later on.
This change uses go 1.24 "os.Root" API to prevent path traversal.
* Use go-client to delete daemonset
* fix options array
* fix namespace not propagated to go runtime
* separate foreground and background cases
* Add "eval" on command exec
For some reason (??) it worked for get-flows but not for get-metrics ...
"eval" makes it work for metrics too
---------
Co-authored-by: Joel Takvorian <jtakvori@redhat.com>
Co-authored-by: Julien Pinsonneau <jpinsonn@redhat.com>
0 commit comments