knative-inspect icon indicating copy to clipboard operation
knative-inspect copied to clipboard

Weird behavior when http_proxy or https_proxy env vars specified

Open ahmetb opened this issue 5 years ago • 0 comments

inspect command works fine, but when I specify a Man-in-the-middle proxy through standard env vars, it shows nothing, but doesn't fail either:

$ http_proxy=:8080 kni inspect --service hello
Resources in hello

Namespace  Name  Kind  Ready  Reason

0 resources
$ https_proxy=:8080 kni inspect --service hello
Resources in hello

Namespace  Name  Kind  Ready  Reason

0 resources
kni inspect --service hello
Resources in hello

Namespace  Name                                 Kind                         Ready    Reason
default    hello                                Service                      True
default    hello                                  ├─ Configuration           True
default    hello-tjxhq-2                          │ ├─ Revision              True
...

ahmetb avatar Dec 22 '19 05:12 ahmetb