Skip to content

Commit

Permalink
Merge pull request #10779 from rpadovani/patch-1
Browse files Browse the repository at this point in the history
Update kubectl documentation with new flags
  • Loading branch information
k8s-ci-robot authored Feb 11, 2021
2 parents 9b7ed55 + 9d6edc8 commit d725765
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/getting_started/kubectl.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ NAME=<kubernetes.mydomain.com>
kops export kubecfg ${NAME}
```

Warning: Note that the exported configuration gives you full admin privileges using TLS certificates that are not easy to rotate. For regular kubectl usage, you should consider using another method for authenticating to the cluster.
Warning: Note that the exported configuration gives you full admin privileges using TLS certificates that are not easy to rotate. For regular kubectl usage, you should consider using another method for authenticating to the cluster.

If you are using kops >= 1.19.0, kops export kubecfg will also require passing either the --admin or --user flag if the context does not already exist. For more information, see the [release notes](https://kops.sigs.k8s.io/releases/1.19-notes/#changes-to-kubernetes-config-export).

0 comments on commit d725765

Please sign in to comment.