-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Labels
enhancementNew feature or requestNew feature or requestkubernetesItems related to KubernetesItems related to Kubernetes
Description
The MCPServer
CRD is getting big and users are reporting it can't be applied without server-side apply.
The biggest piece if the CRD is the embedded PodTemplateSpec
that make up 8500 lines out of 9500 of the CRD.
We could tackle the problem as follows:
- create a custom type (like
mcpServerTemplateSpec
) with a subset of fields that users will generally care about. This will be an embedded type whose fields are visible in documentation andkubectl explain
. - for other fields add a new type (
mcpServerRawTemplateSpec
) that would be usingruntime.RawExtension
and converted intoPodTemplateSpec
on the operator side. This could be used for any fields but the users would not get client-side validation and docs.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestkubernetesItems related to KubernetesItems related to Kubernetes