Skip to content

Fix stale MCPOIDCConfig printer column JSONPaths#4530

Merged
ChrisJBurns merged 1 commit into
mainfrom
fix/mcpoidcconfig-printer-columns
Apr 3, 2026
Merged

Fix stale MCPOIDCConfig printer column JSONPaths#4530
ChrisJBurns merged 1 commit into
mainfrom
fix/mcpoidcconfig-printer-columns

Conversation

@ChrisJBurns
Copy link
Copy Markdown
Collaborator

Summary

The MCPOIDCConfig printer columns for Ready and References were not updated when the condition type was renamed from Valid to Ready (PR #4490) and the status field was renamed from referencingServers to referencingWorkloads (PR #4492). This caused both columns to show empty in kubectl get mcpoidc output.

  • Update Ready column JSONPath from @.type=='Valid' to @.type=='Ready'
  • Update References column JSONPath from .status.referencingServers to .status.referencingWorkloads
  • Regenerate CRD manifests via task operator-manifests

Type of change

  • Bug fix

Test plan

  • Unit tests (task test) — MCPOIDCConfig controller tests pass
  • Linting (task lint-fix) — no new issues (pre-existing unparam in unrelated file)

Does this introduce a user-facing change?

Yes. kubectl get mcpoidc will now correctly display the READY and REFERENCES columns instead of showing empty values.

Generated with Claude Code

The printer columns for Ready and References on MCPOIDCConfig still
pointed at the old condition type (Valid) and status field
(referencingServers) after they were renamed in PRs #4490 and #4492.
This caused both columns to show empty in kubectl output.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added the size/XS Extra small PR: < 100 lines changed label Apr 3, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.03%. Comparing base (cab4d63) to head (5821003).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4530      +/-   ##
==========================================
- Coverage   69.08%   69.03%   -0.05%     
==========================================
  Files         505      505              
  Lines       52144    52144              
==========================================
- Hits        36023    36000      -23     
- Misses      13336    13357      +21     
- Partials     2785     2787       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ChrisJBurns ChrisJBurns merged commit d7e37b8 into main Apr 3, 2026
40 checks passed
@ChrisJBurns ChrisJBurns deleted the fix/mcpoidcconfig-printer-columns branch April 3, 2026 19:02
MatteoManzoni pushed a commit to DocPlanner/toolhive that referenced this pull request Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Extra small PR: < 100 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants