Skip to content

Improve test coverage for controller startup with conversion #2322

@sbueringer

Description

@sbueringer

Let's improve our test coverage as a follow-up to: #2321

The PR description describes the deadlock we encountered in detail. The following describes the test we need to ensure this doesn't happen again.

  • Create a CRD with apiVersion v1
  • Create CRs for this apiVersion
  • Update the CRD to introduce apiVersion v2 (which should be also the new storage version)
  • Setup a manager which:
    • implements conversion for this CRD
    • reconciles / watches the CRD
  • Start the manager and ensure it works without a deadlock

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