- 7 CRDs (Agent, AgentConfig, AgentGroup, Channel, Provider, WorkflowTemplate, CompliancePolicy) - 3 controllers (Agent, WorkflowTemplate, CompliancePolicy) - Generated deepcopy methods (controller-gen v0.16.5) - Dockerfile (multi-stage Go build) - Nix build-image.nix (dockerTools.streamLayeredImage) - Helm chart with RBAC, deployment, service account - Deploy manifests (RBAC + controller deployment) - Sample manifests for all 7 CRDs - Quickstart script - Successfully deployed to k3s on n97-mini: - Controller running and reconciling - All 7 CRDs registered - Agent CR creates Pod (ErrImagePull expected — no agent image yet) - Controller logs show reconciliation working
25 lines
462 B
YAML
25 lines
462 B
YAML
apiVersion: kubeclaw.scoble.me/v1alpha1
|
|
kind: Agent
|
|
metadata:
|
|
name: main-agent
|
|
labels:
|
|
team: core
|
|
spec:
|
|
agentId: main
|
|
model: deepseek-v4-pro:cloud
|
|
agentConfigRef: default-config
|
|
providers:
|
|
- ollama-cloud
|
|
channelRefs:
|
|
- discord-main
|
|
allowedTemplates:
|
|
- search-memory
|
|
allowedDataSources:
|
|
- memory_store
|
|
- vault
|
|
allowedDestinations:
|
|
- stdout
|
|
- discord
|
|
compliancePolicyRefs:
|
|
- soc2-data-access
|
|
replicas: 1
|