Kubernetes controller for managing KnowledgeBase custom resources in the Aphex platform.
The KnowledgeBaseController reconciles KnowledgeBase CRDs, managing:
- Repository configuration ConfigMaps
- MCP server deployments and services
This controller depends on AphexControllerRuntime for shared types and utilities.
go mod tidy
go build ./...go run . --disable-leader-elect --developmentBuild from the workspace root:
docker build -f AphexKnowledgeBaseController/Dockerfile -t knowledgebase-controller:latest .Apply the manifests:
kubectl apply -f manifests/rbac.yaml
kubectl apply -f manifests/deployment.yaml