Skip to content

Operator doesn't start when watching multiple namespaces #1748

@gyfora

Description

@gyfora

Bug Report

Since upgrading to Java operator sdk 4.2.x the operator cannot start correctly if multiple namespaces (but not all) are watched.

There are no errors shown but the operator.start() call never returns.

With a single namespace:
https://gist.github.com/gyfora/1a8cf4a06ee0c0cdab513b147e3ddcb6

With 2 namespaces
https://gist.github.com/gyfora/0c6e32765e84e868a370900410f28205

This can be reproduced both locally and on our CI layer and it happens all the time depending on the namespace config.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions