crc icon indicating copy to clipboard operation
crc copied to clipboard

docs: Document that `no_proxy` needs to be set for `.testing` not just for `oc` use

Open cfergeau opened this issue 3 years ago • 1 comments

After configuring my cluster with an external proxy, I wanted to run curl -k -I api.crc.testing, but this failed as I had forgotten to add crc.testing to no_proxy first.

Our documentation only says:

To use an existing oc executable on your host machine, export the .testing domain as part of the no_proxy environment variable.

It is not needed only for oc, but for any cluster interaction.

cfergeau avatar Sep 14 '21 14:09 cfergeau

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 16 '21 12:11 stale[bot]

It would be great if this were updated as it’s caught me out, and I’ll never get that time back. 👍

jhcook avatar Aug 27 '22 10:08 jhcook

I attempted to improve this in https://github.com/cfergeau/crc/commit/9695d882bee14200042f09af26182051daf8c4aa but I am having trouble wording it in a way I like:

If you are not using [command]crc oc-env, when interacting with the cluster, export the .testing domain as part of the no_proxy environment variable.

cfergeau avatar Aug 29 '22 08:08 cfergeau