Skip to content

Commit 07e5938

Browse files
authored
Merge pull request #568 from gianlucam76/mcp-log
(chore) DebuggingConfiguration: Add MCP Server
2 parents b0f0164 + 8a41f54 commit 07e5938

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

api/v1beta1/debuggingconfiguration_types.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const (
4242
)
4343

4444
//nolint:lll // kubebuilder marker
45-
// +kubebuilder:validation:Enum:=AddonManager;Classifier;ClassifierAgent;SveltosClusterManager;DriftDetectionManager;AccessManager;HealthCheckManager;EventManager;ShardController;UIBackend;SveltosAgent;ConversionWebhook;Techsupport
45+
// +kubebuilder:validation:Enum:=AddonManager;Classifier;ClassifierAgent;SveltosClusterManager;DriftDetectionManager;AccessManager;HealthCheckManager;EventManager;ShardController;UIBackend;SveltosAgent;ConversionWebhook;Techsupport;MCPServer
4646

4747
type Component string
4848

@@ -82,6 +82,9 @@ const (
8282

8383
// ComponentTechsupport is the techsupport pod
8484
ComponentTechsupport = Component("Techsupport")
85+
86+
// ComponentMCPServer is the MCP Server pod
87+
ComponentMCPServer = Component("MCPServer")
8588
)
8689

8790
// ComponentConfiguration is the debugging configuration to be applied to a Sveltos component.

config/crd/bases/lib.projectsveltos.io_debuggingconfigurations.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ spec:
6464
- SveltosAgent
6565
- ConversionWebhook
6666
- Techsupport
67+
- MCPServer
6768
type: string
6869
logLevel:
6970
description: 'LogLevel is the log severity above which logs

lib/crd/debuggingconfigurations.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ spec:
8282
- SveltosAgent
8383
- ConversionWebhook
8484
- Techsupport
85+
- MCPServer
8586
type: string
8687
logLevel:
8788
description: 'LogLevel is the log severity above which logs

manifests/apiextensions.k8s.io_v1_customresourcedefinition_debuggingconfigurations.lib.projectsveltos.io.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ spec:
6363
- SveltosAgent
6464
- ConversionWebhook
6565
- Techsupport
66+
- MCPServer
6667
type: string
6768
logLevel:
6869
description: 'LogLevel is the log severity above which logs

0 commit comments

Comments
 (0)