Skip to content

Commit fdb544d

Browse files
authored
Update rest.md
1 parent 7b8d4eb commit fdb544d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/rest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Before using the sample script below, you must:
2424
that you used to install the operator (so that it can get the certificates),
2525
* Add your operator's certificate to your operating system's trust store (see below), and
2626
* If you are using a self-signed certificate and your client is macOS, you may need to update the version of `curl`
27-
you have installed. The version of curl that ships with macOS High Sierra (`curl 7.54.0 (x86_64-apple-darwin17.0)
27+
you have installed. The version of CURL that ships with macOS High Sierra (`curl 7.54.0 (x86_64-apple-darwin17.0)
2828
libcurl/7.54.0 LibreSSL/2.0.20 zlib/1.2.11 nghttp2/1.24.0`) has known issues with self-signed certificates. Oracle
2929
recommends `curl 7.63.0 (x86_64-apple-darwin17.7.0) libcurl/7.63.0 SecureTransport zlib/1.2.11` which can be installed
3030
with `brew install curl`.
@@ -85,7 +85,7 @@ cat curl.err
8585
cat curl.out | jq .
8686
```
8787

88-
**Note** you can use the `-k` option to bypass the check to verify that the operator's certificate is trusted (instead of `curl --cacert`), but this is insecure.
88+
**Note**: you can use the `-k` option to bypass the check to verify that the operator's certificate is trusted (instead of `curl --cacert`), but this is insecure.
8989

9090
To use this script, pass in the Kubernetes server address and then the URL you want to call. The script assumes `jq` is installed and uses it to format the response. This can be removed if desired. The script also prints out quite a bit of useful debugging information in addition to the response. Here is an example of the output of this script:
9191

0 commit comments

Comments
 (0)