diff --git a/docs/getting_started/kubectl.md b/docs/getting_started/kubectl.md index 59817fca67..8c6ea4508d 100644 --- a/docs/getting_started/kubectl.md +++ b/docs/getting_started/kubectl.md @@ -11,4 +11,6 @@ NAME= 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. \ No newline at end of file +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 section "Changes to kubernetes config export" in the [release notes].(https://github.com/kubernetes/kops/releases/tag/v1.19.0)