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
4f301cc9
Unverified
Commit
4f301cc9
authored
Mar 11, 2019
by
d-kuro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
parent
01c9edf7
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 @
4f301cc9
...
@@ -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