Skip to content

Commit

Permalink
print operator configuration in setupLog
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrove-oss authored and openshift-merge-bot[bot] committed Jul 11, 2024
1 parent 677417b commit 3b5a5d2
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 @@ -166,6 +166,7 @@ func main() {
namespace := namespaceOrDie()

exitOnError(loadIntoOrCreate(ctx, kubeClient, namespace, configMapName, cfg), "unable to initialise configuration")
setupLog.Info("Successfully configured operator", "config", *cfg)

kubeConfig.Burst = int(ptr.Deref(cfg.ClientConnection.Burst, int32(rest.DefaultBurst)))
kubeConfig.QPS = ptr.Deref(cfg.ClientConnection.QPS, rest.DefaultQPS)
Expand Down

0 comments on commit 3b5a5d2

Please sign in to comment.