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
31e4ece5
Unverified
Commit
31e4ece5
authored
Jan 18, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Jan 18, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #73075 from hello2mao/cloudprovider-informer
Set the informer on the user cloud object for out-off-tree cloudproviders
parents
76961c51
5024611b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
controllermanager.go
cmd/cloud-controller-manager/app/controllermanager.go
+4
-0
No files found.
cmd/cloud-controller-manager/app/controllermanager.go
View file @
31e4ece5
...
@@ -214,6 +214,10 @@ func startControllers(c *cloudcontrollerconfig.CompletedConfig, stopCh <-chan st
...
@@ -214,6 +214,10 @@ func startControllers(c *cloudcontrollerconfig.CompletedConfig, stopCh <-chan st
if
cloud
!=
nil
{
if
cloud
!=
nil
{
// Initialize the cloud provider with a reference to the clientBuilder
// Initialize the cloud provider with a reference to the clientBuilder
cloud
.
Initialize
(
c
.
ClientBuilder
,
stopCh
)
cloud
.
Initialize
(
c
.
ClientBuilder
,
stopCh
)
// Set the informer on the user cloud object
if
informerUserCloud
,
ok
:=
cloud
.
(
cloudprovider
.
InformerUser
);
ok
{
informerUserCloud
.
SetInformers
(
c
.
SharedInformers
)
}
}
}
for
controllerName
,
initFn
:=
range
controllers
{
for
controllerName
,
initFn
:=
range
controllers
{
...
...
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