Skip to content

Commit 2ecdc87

Browse files
savitaashtureShivam Mukhade
authored andcommitted
Fix configmap read issue for watcher
1 parent 7e21e00 commit 2ecdc87

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/reconciler/controller.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ func NewController() func(context.Context, configmap.Watcher) *controller.Impl {
3030
log.Fatal("failed to init kinit client : ", err)
3131
}
3232

33+
if err := run.GetConfigFromConfigMap(ctx); err != nil {
34+
log.Fatal("failed to get defaults : ", err)
35+
}
36+
3337
run.Info.Pac.LogURL = run.Clients.ConsoleUI.URL()
3438

3539
pipelineRunInformer := pipelineruninformer.Get(ctx)

0 commit comments

Comments
 (0)