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
cad1b4db
Unverified
Commit
cad1b4db
authored
Mar 20, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Mar 20, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #75252 from d-kuro/feature/fix-typo
Fixed typo
parents
d5832831
4f301cc9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
certs.go
cmd/kubeadm/app/phases/certs/certs.go
+1
-1
No files found.
cmd/kubeadm/app/phases/certs/certs.go
View file @
cad1b4db
...
@@ -184,7 +184,7 @@ func LoadCertificateAuthority(pkiDir string, baseName string) (*x509.Certificate
...
@@ -184,7 +184,7 @@ func LoadCertificateAuthority(pkiDir string, baseName string) (*x509.Certificate
// writeCertificateAuthorithyFilesIfNotExist write a new certificate Authority to the given path.
// writeCertificateAuthorithyFilesIfNotExist write a new certificate Authority to the given path.
// If there already is a certificate file at the given path; kubeadm tries to load it and check if the values in the
// If there already is a certificate file at the given path; kubeadm tries to load it and check if the values in the
// existing and the e
e
xpected certificate equals. If they do; kubeadm will just skip writing the file as it's up-to-date,
// existing and the expected certificate equals. If they do; kubeadm will just skip writing the file as it's up-to-date,
// otherwise this function returns an error.
// otherwise this function returns an error.
func
writeCertificateAuthorithyFilesIfNotExist
(
pkiDir
string
,
baseName
string
,
caCert
*
x509
.
Certificate
,
caKey
*
rsa
.
PrivateKey
)
error
{
func
writeCertificateAuthorithyFilesIfNotExist
(
pkiDir
string
,
baseName
string
,
caCert
*
x509
.
Certificate
,
caKey
*
rsa
.
PrivateKey
)
error
{
...
...
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