diff --git a/.gitignore b/.gitignore index 36d5f731..78dca3ea 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,4 @@ /dist *.swp /.trash-cache -admin.config +kube_config* diff --git a/README.md b/README.md index e4a36b97..146348e1 100644 --- a/README.md +++ b/README.md @@ -181,7 +181,7 @@ And then run: rke up --config cluster.yml ``` -RKE will first look for the local `.kube_config_cluster.yml` and then tries to upgrade each service to the latest image. +RKE will first look for the local `kube_config_cluster.yml` and then tries to upgrade each service to the latest image. > Note that rollback isn't supported in RKE and may lead to unxpected results diff --git a/pki/constants.go b/pki/constants.go index 6160421c..8d7216e2 100644 --- a/pki/constants.go +++ b/pki/constants.go @@ -21,5 +21,5 @@ const ( KubeAdminCertName = "kube-admin" KubeAdminOrganizationName = "system:masters" - KubeAdminConfigPrefix = ".kube_config_" + KubeAdminConfigPrefix = "kube_config_" )