kubeclaw/config/samples/04-workflowtemplate.yaml
Marcus (agent-cos) ece81f651c feat: full kubeclaw operator — CRDs, controllers, deploy manifests, Helm chart
- 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
2026-05-12 17:08:31 -07:00

40 lines
913 B
YAML

apiVersion: kubeclaw.scoble.me/v1alpha1
kind: WorkflowTemplate
metadata:
name: search-memory
spec:
displayName: "Search Memory"
description: "Search the agent's memory store for relevant past context"
steps:
- name: search
action: search_memory
target: memory_store
- name: format-results
action: format_output
target: stdout
parametersSchema:
type: object
properties:
query:
type: string
description: "Search query"
maxResults:
type: integer
default: 5
required: ["query"]
outputSchema:
type: object
properties:
results:
type: array
items:
type: object
properties:
path:
type: string
content:
type: string
score:
type: number
auditLevel: standard
complianceRequirements: ["SOC2"]