Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/workflows/push-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ on:
- 'v*'
paths:
- '.github/workflows/**'
- 'apis/**'
- 'config/bundle.yaml'
- 'controllers/**'
- 'hack/delete.sh'
- 'hack/deploy.sh'
- 'pkg/**'
- 'Dockerfile'
- 'main.go'
Expand Down
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,12 @@ func main() {
var metricsAddr string
var enableLeaderElection bool
var probeAddr string
var interval time.Duration

flag.StringVar(&metricsAddr, "metrics-bind-address", ":8080", "The address the metric endpoint binds to.")
flag.StringVar(&probeAddr, "health-probe-bind-address", ":8081", "The address the probe endpoint binds to.")
flag.BoolVar(&enableLeaderElection, "leader-elect", false,
"Enable leader election for controller manager. "+
"Enabling this will ensure there is only one active controller manager.")
flag.DurationVar(&interval, "builder-check-interval", time.Minute, "The interval used to check the expired builder")

// Use `--zap-log-level=debug` to enable debug log.
opts := zap.Options{
Expand Down