Skip to content

Commit

Permalink
Merge pull request #266 from danielvegamyhre/automated-cherry-pick-of…
Browse files Browse the repository at this point in the history
…-#265-upstream-release-0.2

Automated cherry pick of #265: fail fast if we cannot build indexes
  • Loading branch information
k8s-ci-robot authored Aug 23, 2023
2 parents 8e0727e + e823273 commit 6380248
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ func main() {
ctx := ctrl.SetupSignalHandler()
if err := controllers.SetupIndexes(ctx, mgr.GetFieldIndexer()); err != nil {
setupLog.Error(err, "unable to setup indexes")
os.Exit(1)
}

// Cert won't be ready until manager starts, so start a goroutine here which
Expand Down

0 comments on commit 6380248

Please sign in to comment.