Skip to content

[BUG] Namespace Reconciler Bugs found while migrating. #1080

@n3wscott

Description

@n3wscott

Related to #734, #1069

While moving the namespace reconciler to pkg/controller I found the following bugs:

  1. The namespace reconciler does not watch the resources it creates. The controller will not heal if one of those components are deleted.

  2. The namespace reconciler does not clean up brokers it had created as a result of a namespace annotation. The resources should be deleted when the label is removed.

  3. The namespace reconciler does not have a unit test for a conflicting default broker.

  4. There is not enough events created in this reconciler, see Move namespace controller to pkg/controller style. #1069 (comment)

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions