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
33fa1537
Commit
33fa1537
authored
Aug 04, 2017
by
m1093782566
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos in kubefed package
parent
2495cc60
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
init.go
federation/pkg/kubefed/init/init.go
+1
-1
util.go
federation/pkg/kubefed/util/util.go
+1
-1
No files found.
federation/pkg/kubefed/init/init.go
View file @
33fa1537
...
...
@@ -284,7 +284,7 @@ func (i *initFederation) Run(cmdOut io.Writer, config util.AdminConfig) error {
return
err
}
// If the error is type NoRBACAPIError, We continue to create the rest of
// the resources, without the SA and roles (in the abs
cens
e of RBAC support).
// the resources, without the SA and roles (in the abs
enc
e of RBAC support).
rbacAvailable
=
false
}
...
...
federation/pkg/kubefed/util/util.go
View file @
33fa1537
...
...
@@ -259,7 +259,7 @@ func buildConfigFromSecret(secret *api.Secret, serverAddress string) (*restclien
// GetVersionedClientForRBACOrFail discovers the versioned rbac APIs and gets the versioned
// clientset for either the preferred version or the first listed version (if no preference listed)
// TODO: We need to evaluate the usage of RESTMapper interface to achieve te same functionality
// TODO: We need to evaluate the usage of RESTMapper interface to achieve t
h
e same functionality
func
GetVersionedClientForRBACOrFail
(
hostFactory
cmdutil
.
Factory
)
(
client
.
Interface
,
error
)
{
discoveryclient
,
err
:=
hostFactory
.
DiscoveryClient
()
if
err
!=
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