kubearmor / kubearmor-client

KubeArmor cli tool aka kArmor :robot:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`karmor profile` doesn't exit TUI mode on gRPC service connection errors

DelusionalOptimist opened this issue · comments

Current behavior
When a user runs karmor profile it tries to connect with the gRPC server either running in kubearmor-relay service or through the gRPC port specified through --gRPC flag and get visibility logs.
However, if it fails to connect, it still keeps showing the TUI with no events. This is misleading and might make users be under the impression that no logs are coming in.

Expected behavior
Quit TUI mode when connection with gRPC service doesn't succeed.

I can try this!

Thanks @zhy76. Let us know if you need any help.

Hi @DelusionalOptimist, I am having trouble reproducing this error, can you help out?

Hey @rootxrishabh this has actually been fixed recently along with other improvements in #348 : (