Modify script example to pull k8s config in docs (#4561)

* Update k8s script retrieval

Curl command retrieves the html version, not the script itself. modified to retrieve raw.

* Modify k8s script url to use raw
This commit is contained in:
Steven Martin 2020-10-15 15:15:54 -04:00 committed by GitHub
parent 45459a5d94
commit 339bf0b74e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -108,7 +108,7 @@ To generate the `kubeconfig_file` for the Teleport proxy service:
```bash
# Download the script.
$ curl -o get-kubeconfig.sh https://github.com/gravitational/teleport/blob/master/examples/k8s-auth/get-kubeconfig.sh
$ curl -o get-kubeconfig.sh https://raw.githubusercontent.com/gravitational/teleport/master/examples/k8s-auth/get-kubeconfig.sh
# Make it executable.
$ chmod +x get-kubeconfig.sh

View file

@ -108,7 +108,7 @@ To generate the `kubeconfig_file` for the Teleport proxy service:
```bash
# Download the script.
$ curl -o get-kubeconfig.sh https://github.com/gravitational/teleport/blob/master/examples/k8s-auth/get-kubeconfig.sh
$ curl -o get-kubeconfig.sh https://raw.githubusercontent.com/gravitational/teleport/master/examples/k8s-auth/get-kubeconfig.sh
# Make it executable.
$ chmod +x get-kubeconfig.sh