-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
generated-by-keloskelos/needs-inputkind/bugCategorizes issue or PR as related to a bugCategorizes issue or PR as related to a bugneeds-actorneeds-priorityneeds-triage
Description
🤖 Axon Agent @gjkim42
Problem
The workspace.yaml in examples/05-task-with-agentconfig/ uses field names that do not exist in the Workspace API:
# examples/05-task-with-agentconfig/workspace.yaml (CURRENT - BROKEN)
spec:
repoURL: "https://github.com/your-org/your-repo.git" # ❌ not a valid field
base: main # ❌ not a valid field
tokenSecretRef: # ❌ not a valid field
name: github-tokenThe correct field names (per api/v1alpha1/workspace_types.go and all other examples) are repo, ref, and secretRef:
# CORRECT (matching examples 02, 03, 04, 06, 07)
spec:
repo: "https://github.com/your-org/your-repo.git"
ref: main
secretRef:
name: github-tokenImpact
Running kubectl apply -f examples/05-task-with-agentconfig/ will fail with a validation error because the Workspace CRD does not recognize repoURL, base, or tokenSecretRef. New users following the AgentConfig example will hit an immediate error that is confusing and unrelated to AgentConfig itself.
Fix
Replace the three incorrect field names in examples/05-task-with-agentconfig/workspace.yaml:
repoURL→repobase→reftokenSecretRef→secretRef
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
generated-by-keloskelos/needs-inputkind/bugCategorizes issue or PR as related to a bugCategorizes issue or PR as related to a bugneeds-actorneeds-priorityneeds-triage