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
c6c23daa
Unverified
Commit
c6c23daa
authored
Aug 21, 2018
by
Kevin Burke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pkg/kubectl: fix spelling mistake
parent
f077d673
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
secret_for_tls.go
pkg/kubectl/secret_for_tls.go
+1
-1
No files found.
pkg/kubectl/secret_for_tls.go
View file @
c6c23daa
...
@@ -125,7 +125,7 @@ func (s SecretForTLSGeneratorV1) ParamNames() []GeneratorParam {
...
@@ -125,7 +125,7 @@ func (s SecretForTLSGeneratorV1) ParamNames() []GeneratorParam {
// validate validates required fields are set to support structured generation
// validate validates required fields are set to support structured generation
func
(
s
SecretForTLSGeneratorV1
)
validate
()
error
{
func
(
s
SecretForTLSGeneratorV1
)
validate
()
error
{
// TODO: This is not strictly necessary. We can generate a self signed cert
// TODO: This is not strictly necessary. We can generate a self signed cert
// if no key/cert is given. The only require
d
ment is that we either get both
// if no key/cert is given. The only requirement is that we either get both
// or none. See test/e2e/ingress_utils for self signed cert generation.
// or none. See test/e2e/ingress_utils for self signed cert generation.
if
len
(
s
.
Key
)
==
0
{
if
len
(
s
.
Key
)
==
0
{
return
fmt
.
Errorf
(
"key must be specified"
)
return
fmt
.
Errorf
(
"key must be specified"
)
...
...
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