Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
83b808b3
Commit
83b808b3
authored
Feb 06, 2019
by
dmaiocchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kubeadm: improve ux on infoMsg kubeconfig
parent
31c6a2ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
kubeconfig.go
cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go
+1
-1
No files found.
cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go
View file @
83b808b3
...
@@ -271,7 +271,7 @@ func createKubeConfigFileIfNotExists(outDir, filename string, config *clientcmda
...
@@ -271,7 +271,7 @@ func createKubeConfigFileIfNotExists(outDir, filename string, config *clientcmda
// kubeadm doesn't validate the existing kubeconfig file more than this (kubeadm trusts the client certs to be valid)
// kubeadm doesn't validate the existing kubeconfig file more than this (kubeadm trusts the client certs to be valid)
// Basically, if we find a kubeconfig file with the same path; the same CA cert and the same server URL;
// Basically, if we find a kubeconfig file with the same path; the same CA cert and the same server URL;
// kubeadm thinks those files are equal and doesn't bother writing a new file
// kubeadm thinks those files are equal and doesn't bother writing a new file
fmt
.
Printf
(
"[kubeconfig] Using existing
up-to-date
kubeconfig file: %q
\n
"
,
kubeConfigFilePath
)
fmt
.
Printf
(
"[kubeconfig] Using existing kubeconfig file: %q
\n
"
,
kubeConfigFilePath
)
return
nil
return
nil
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment