Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Lance Ball <lball@redhat.com>
  • Loading branch information
lholmquist and lance authored May 21, 2020
1 parent 43dbebb commit 62ef669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ To see more examples of how to customize your config, check out the [kubernetes-

#### Load API from a Remote Cluster

By default, the openshift-rest-client, will load a swagger spec file that is included with the module. This has all the basic API's that come with Openshift and Kubernetes. If you are using operators to extend your cluster, the openshift-rest-client, by default, won't know about them.
By default, the openshift-rest-client, will load a swagger spec file that is included with the module. This has all the basic APIs that come with OpenShift and Kubernetes. If you are using operators to extend your cluster, the openshift-rest-client, by default, won't know about them.

To fix this, you can tell the openshift-rest-client to load the spec file from your remote cluster using the `loadSpecFromCluster` option. Setting this to true, will try to load the spec file from your clusters `/openapi/v2` endpoint. If that doesn't exist, it will also try, `/swagger.json`

Expand Down

0 comments on commit 62ef669

Please sign in to comment.