Skip to content

Commit

Permalink
Make KDD IPAM controller reactive to node deletions
Browse files Browse the repository at this point in the history
  • Loading branch information
caseydavenport committed Feb 13, 2019
1 parent 90a94e3 commit a12aec3
Show file tree
Hide file tree
Showing 7 changed files with 357 additions and 375 deletions.
7 changes: 0 additions & 7 deletions cmd/kube-controllers/main.go
Expand Up @@ -36,7 +36,6 @@ import (

"github.com/projectcalico/kube-controllers/pkg/config"
"github.com/projectcalico/kube-controllers/pkg/controllers/controller"
kddipam "github.com/projectcalico/kube-controllers/pkg/controllers/kdd-ipam"
"github.com/projectcalico/kube-controllers/pkg/controllers/namespace"
"github.com/projectcalico/kube-controllers/pkg/controllers/networkpolicy"
"github.com/projectcalico/kube-controllers/pkg/controllers/node"
Expand Down Expand Up @@ -144,12 +143,6 @@ func main() {
controller: serviceAccountController,
threadiness: config.ProfileWorkers,
}
case "ipam":
ipamController := kddipam.NewController(ctx, k8sClientset, calicoClient, config)
controllerCtrl.controllerStates["IPAM"] = &controllerState{
controller: ipamController,
threadiness: 1,
}
default:
log.Fatalf("Invalid controller '%s' provided.", controllerType)
}
Expand Down
7 changes: 3 additions & 4 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions glide.yaml
Expand Up @@ -14,8 +14,7 @@ import:
subpackages:
- fv/containers
- package: github.com/projectcalico/libcalico-go
repo: https://github.com/caseydavenport/libcalico-go
version: 8a9bd599901759ede38b0eab26e4604bcc572fa5
version: 61a81ef2608e8744731f00d878b8c76a3ab95486
subpackages:
- lib/apiconfig
- lib/apis/v3
Expand Down
228 changes: 0 additions & 228 deletions pkg/controllers/kdd-ipam/controller.go

This file was deleted.

0 comments on commit a12aec3

Please sign in to comment.