diff --git a/src/lib/k8s.ts b/src/lib/k8s.ts index e262d2d..9e91db0 100644 --- a/src/lib/k8s.ts +++ b/src/lib/k8s.ts @@ -43,13 +43,10 @@ export function getK8sClient(): k8s.CoreV1Api { /** * Create pod spec for agent */ -export function createAgentPodSpec(podName: string, userId: string) { +export function createAgentPodSpec(podName: string, userId: string): k8s.V1Pod { return { - apiVersion: 'v1', - kind: 'Pod', metadata: { name: podName, - namespace: 'agents', labels: { app: 'claude-agent', userId: userId,