fix(operator): remove CRD shortNames that collide with the resource's own names - #6689
Open
lightsabit wants to merge 1 commit into
Open
lightsabit wants to merge 1 commit into
lightsabit wants to merge 1 commit into
Conversation
… own names The API server rejects a shortName equal to the CRD's singular or plural, so the CRD installs with NamesAccepted=False and helm --wait never returns. mcpservers shipped shortName=mcpserver;mcpservers, and mcpgroups shortName=mcpgroup -- both their own singulars. Regenerated the CRDs. Fixes stacklok#6685 Signed-off-by: lights <115397533+lightsabit@users.noreply.github.com>
lightsabit
requested review from
ChrisJBurns,
JAORMX,
blkt,
jerm-dro,
jhrozek,
rdimitrov,
reyortiz3 and
tgrunnagle
as code owners
September 18, 2026 13:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The 0.49.0 mcpservers CRD ships shortNames [mcpserver, mcpservers], both equal to the CRD's own singular/plural, so it installs with NamesAccepted=False and helm --wait hangs on it (#6685).
Sweeping the other CRDs found the same problem on mcpgroups, which ships shortName mcpgroup -- its own singular. This drops the colliding entries (keeping mcpg) and regenerates via
task operator-manifests, so both CRDs install clean.Hit this on a live v0.49.0 upgrade; worked around it with a post-renderer until now.