mirror of
https://github.com/siderolabs/talos.git
synced 2026-04-14 10:11:08 +02:00
When run in "normal" mode, `talosctl` takes into account proxy configuration, such as the `https_proxy` and `no_proxy` environment variables; but when invoked with `--insecure`, those would be ignored, which results in `talosctl` being unable to interact with nodes in maintenance mode if they're only reachable through a proxy. This commit adds the `WithDefaultGRPCDialOptions()` option to the client created by `WithClientMaintenance()`, same as `WithClient()`. Signed-off-by: Benoît Knecht <benoit.knecht@proton.ch>