Skip to content

Remove Deprecated Fields #4250

Closed
3 of 3 issues completed
Closed

Description

@ChrisJBurns

As a CRD API consumer,
I want deprecated fields removed in the v1alpha2 API,
so that the API surface is clean and there is no ambiguity about which field to use.

Size: M
Dependencies: None
Labels: operator, api, breaking-change

Context

MCPServer and MCPRemoteProxy include deprecated fields with fallback helper methods. These were retained during v1alpha1 for backward compatibility, but v1alpha2 is a breaking change and the right time to remove them.

Deprecated Field Replacement Location
MCPServer.spec.port proxyPort mcpserver_types.go:96
MCPServer.spec.targetPort mcpPort mcpserver_types.go:103
MCPServer.spec.toolsFilter toolConfigRef mcpserver_types.go:175
InlineOIDCConfig.clientSecret clientSecretRef mcpserver_types.go:541
InlineOIDCConfig.thvCABundlePath caBundleRef mcpserver_types.go:553
MCPRemoteProxy.spec.port proxyPort mcpremoteproxy_types.go:48

Acceptance Criteria

  • MCPServer.spec.port removed (use proxyPort)
  • MCPServer.spec.targetPort removed (use mcpPort)
  • MCPServer.spec.toolsFilter removed (use toolConfigRef)
  • InlineOIDCConfig.clientSecret removed (use clientSecretRef)
  • InlineOIDCConfig.thvCABundlePath removed (use caBundleRef)
  • MCPRemoteProxy.spec.port removed (use proxyPort)
  • All fallback helper methods (GetProxyPort(), GetMcpPort(), etc.) simplified to use only the canonical field
  • All controller code referencing deprecated fields is updated
  • Unit tests updated to use only canonical fields
  • Migration notes document the exact field mappings

Sub-issues

Sub-issues

3 of 3 Issues completed
Loading 3 sub-issues

Activity

  1. added
    kubernetes
    size/M
    on Mar 19, 2026
  2. added
    api
    on Mar 19, 2026
  3. added a commit that references this issue on Mar 31, 2026
    5f00540
  4. added 2 commits that reference this issue on Mar 31, 2026
    029ecbd
    1255e44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    apibreaking-changekubernetesoperatorsize/M

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions