- 
                Notifications
    You must be signed in to change notification settings 
- Fork 134
Rename MCPServer CRD Port Attributes for Clarity #1806
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
Conversation
| lol, I approved before looking at the CI run 🤦🏻 | 
| I'll pull it locally and run the docs steps | 
| Codecov Report❌ Patch coverage is  Additional details and impacted files@@            Coverage Diff             @@
##             main    #1806      +/-   ##
==========================================
- Coverage   54.28%   54.23%   -0.06%     
==========================================
  Files         240      240              
  Lines       23594    23598       +4     
==========================================
- Hits        12808    12798      -10     
- Misses       9577     9588      +11     
- Partials     1209     1212       +3     ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
 | 
| shouldn't we resurrect this PR? | 
| @jhrozek ahh yep, let me add this to the list of things to get soon ASAP. I think the only thing thats left is to just make sure we can leave the old fields in for a few versions and make them as deprecated. this is so we don't break existing setups | 
| @claude rebase and fix the merge conflicts | 
| Claude finished @ChrisJBurns's task —— View job Rebasing and Fixing Merge ConflictsI've investigated the current state of the branch and identified the issue, but I'm unable to complete the rebase due to tool permissions. Current Situation
 What Needs to HappenThe branch needs to be rebased onto the latest  
 Required CommandsSince I don't have permission to run  # Fetch latest changes
git fetch origin
# Rebase onto main
git rebase origin/main
# If conflicts occur, resolve them and continue
git rebase --continue
# Force push the rebased branch (since rebase rewrites history)
git push origin claude/issue-1452-20250827-1021 --force-with-leasePotential Conflict to Watch ForThe OIDC refactor (commit  
 Alternative: If you can grant me permission to run  | 
- Rename `port` to `proxyPort` - represents proxy runner port - Rename `targetPort` to `mcpPort` - represents MCP server port This change addresses user confusion about port semantics as discussed in issue #1452. The new names clearly indicate which port corresponds to which component: - proxyPort: Port exposed by the proxy runner in Kubernetes - mcpPort: Port that the MCP server listens on internally Signed-off-by: ChrisJBurns <[email protected]>
31cc2b7    to
    aaa2be4      
    Compare
  
    | @claude can you rebase this with main please | 
| Claude finished @ChrisJBurns's task —— View job Rebasing with main
 AnalysisI've investigated the current state and discovered an important situation: This PR's work has already been merged to main in PR #2330! The commit  Comparison: 
 The main difference is that  RecommendationSince this PR's core functionality has already been merged via PR #2330, I recommend: Option 1 (Recommended): Close this PR 
 Option 2: Update this PR to only include any missing differences 
 Why I cannot rebase automatically: I don't have permission to perform git rebase operations. These are branch operations that require explicit user approval. Even if you wanted to proceed with a rebase, you would need to: git fetch origin
git rebase origin/main
# Resolve any conflicts
git push origin claude/issue-1452-20250827-1021 --force-with-leaseHowever, given that the work is already merged, a rebase would likely result in conflicts or no-op changes. What would you like to do? Close this PR since the work is already in main, or is there something specific from this branch that's not in #2330 that you want to preserve? --- | Branch | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pointed out some cases of fields that look to me like they should be update to the compat calls. Apart from them, I think we should update the examples to use the new fields, but maybe as another PR after the release so we don't have a race where the examples in git and linked from docs are using the new fields but the new fields are not released yet?
There are also examples of the CRDs using the old schema in the architecture guide which might be updated right away.
Signed-off-by: ChrisJBurns <[email protected]>
Signed-off-by: ChrisJBurns <[email protected]>
| @jhrozek Can't believe I missed those, it seems my CMD + SHIFT + F failed me! Repushed. | 
Signed-off-by: ChrisJBurns <[email protected]>
Signed-off-by: ChrisJBurns <[email protected]>
proxyPortandmcpPort+ adds deprecation note for oldportandtargetPort.This change addresses user confusion about port semantics as discussed in issue #1452. The new names clearly indicate which port corresponds to which component:
The old
PortandTargetPorthas been left in the CRDs and marked as deprecated for backwards compatibility. We have currently gotGetProxyPort()andGetMcpPort()functions that will use the new ports if they are specified, otherwise will fall back on the older ports. If the new and old ports are not specified we will use a default🤖 Generated with Claude Code