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

Fix bug where 'none' crd-management mode blocked pod start #4151

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

matthchr
Copy link
Member

@matthchr matthchr commented Jul 4, 2024

This happened because in 'none' mode goalCRDs was the set of installed CRDs, but we built an exclusion list from that set and used it to filter the set of known storage types from the scheme. When count(existing) = 5 and count(scheme)=200, the most you can possibly filter from the scheme with an exclusion list is 5 which leaves 195 CRDs being mistakenly installed.

Fixes #4146.

If applicable:

  • this PR contains documentation
  • this PR contains tests
  • this PR contains YAML Samples

@matthchr matthchr added this to the v2.9.0 milestone Jul 4, 2024
@matthchr matthchr self-assigned this Jul 4, 2024
This happened because in 'none' mode goalCRDs was the set of
installed CRDs, but we built an exclusion list from that set and used it
to filter the set of known storage types from the scheme. When
count(existing) = 5 and count(scheme)=200, the most you can possibly
filter from the scheme with an exclusion list is 5 which leaves 195 CRDs
being mistakenly installed.

Fixes Azure#4146.
@matthchr matthchr force-pushed the feature/fix-crd-management-mode-none branch from 3378e10 to a483c7f Compare July 4, 2024 00:21
@matthchr
Copy link
Member Author

matthchr commented Jul 8, 2024

/ok-to-test sha=a483c7f

@matthchr matthchr added this pull request to the merge queue Jul 8, 2024
Merged via the queue into Azure:main with commit 359e965 Jul 8, 2024
7 checks passed
@matthchr matthchr deleted the feature/fix-crd-management-mode-none branch July 8, 2024 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

Bug: none crd-management mode doesn't work with only a subset of CRDs like it should
2 participants