Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve test coverage for controller startup with conversion #2322

Closed
sbueringer opened this issue May 11, 2023 · 0 comments · Fixed by #2418
Closed

Improve test coverage for controller startup with conversion #2322

sbueringer opened this issue May 11, 2023 · 0 comments · Fixed by #2418
Assignees

Comments

@sbueringer
Copy link
Member

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant