Update nginx controller for Godeps
This commit is contained in:
parent
198a319fd6
commit
17b106133b
2 changed files with 5 additions and 5 deletions
|
|
@ -26,7 +26,7 @@ import (
|
|||
"k8s.io/kubernetes/pkg/api"
|
||||
"k8s.io/kubernetes/pkg/apis/extensions"
|
||||
client "k8s.io/kubernetes/pkg/client/unversioned"
|
||||
"k8s.io/kubernetes/pkg/util"
|
||||
"k8s.io/kubernetes/pkg/util/flowcontrol"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
@ -69,7 +69,7 @@ func main() {
|
|||
ingClient = kubeClient.Extensions().Ingress(api.NamespaceAll)
|
||||
}
|
||||
tmpl, _ := template.New("nginx").Parse(nginxConf)
|
||||
rateLimiter := util.NewTokenBucketRateLimiter(0.1, 1)
|
||||
rateLimiter := flowcontrol.NewTokenBucketRateLimiter(0.1, 1)
|
||||
known := &extensions.IngressList{}
|
||||
|
||||
// Controller loop
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue