Skip to content

Commit

Permalink
Add options to customize leader election
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamradhakrishnan committed May 5, 2023
1 parent 6b0ae1f commit 9058f30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion api/v1beta1/zz_generated.deepcopy.go

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

2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ package main

import (
"flag"
"k8s.io/client-go/tools/leaderelection/resourcelock"
"os"
"time"

Expand All @@ -37,6 +36,7 @@ import (
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
clientgoscheme "k8s.io/client-go/kubernetes/scheme"
_ "k8s.io/client-go/plugin/pkg/client/auth"
"k8s.io/client-go/tools/leaderelection/resourcelock"
"k8s.io/component-base/logs"
logsV1 "k8s.io/component-base/logs/api/v1"
_ "k8s.io/component-base/logs/json/register"
Expand Down

0 comments on commit 9058f30

Please sign in to comment.