Compare commits
1 Commits
f104425b91
...
6f1c51bfd8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6f1c51bfd8 |
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user