Skip to content

Operator doesn't start on informer access error even if stopOnInformerError is set to False #1775

Closed
@gyfora

Description

@gyfora

Bug Report

With stopOnInformerError set to false and watching 2 namespaces default,ns1, if I remove the rolebinding for ns1 access the operator won't start correctly.

We get the warn logs ( [WARN ] listSyncAndWatch failed for...) but the operator.start() call does not return until we actually send an event to the other namespace (into default in my case). After that the start returns and the operator starts. (and as expected we continue to receive the warn logs for ns1)

What did you expect to see?

I would expect the operator to start even if the other watched but accessible namespaces do not have any resources in them.

What did you see instead? Under which circumstances?

Environment

Kind

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