Problem
config/crd/kustomization.yaml only includes the agentcards CRD but not the agentruntimes CRD. The file config/crd/bases/agent.kagenti.dev_agentruntimes.yaml exists (added in PR #212) but was never registered in the kustomization resources list.
This causes the operator to crash on startup with:
no matches for kind "AgentRuntime" in version "agent.kagenti.dev/v1alpha1"
failed to wait for agentruntime caches to sync
Impact
Any make deploy or kustomize-based installation crashes immediately. The operator enters CrashLoopBackOff because the AgentRuntime controller can't sync its cache against a non-existent CRD.
Suggested fix
Add bases/agent.kagenti.dev_agentruntimes.yaml to config/crd/kustomization.yaml:
resources:
- bases/agent.kagenti.dev_agentcards.yaml
- bases/agent.kagenti.dev_agentruntimes.yaml
Reproduction
make deploy IMG=<any-image>
kubectl logs -n kagenti-operator-system deployment/kagenti-operator-controller-manager
# "no matches for kind AgentRuntime" → CrashLoopBackOff
Workaround
Manually apply the CRD before deploying:
kubectl apply --server-side -f config/crd/bases/agent.kagenti.dev_agentruntimes.yaml
Found during
E2E walkthrough of all 4 AgentCard demo scenarios on OpenShift 4.19 (ROSA), operator built from main at commit 06e0419.
Problem
config/crd/kustomization.yamlonly includes theagentcardsCRD but not theagentruntimesCRD. The fileconfig/crd/bases/agent.kagenti.dev_agentruntimes.yamlexists (added in PR #212) but was never registered in the kustomization resources list.This causes the operator to crash on startup with:
Impact
Any
make deployor kustomize-based installation crashes immediately. The operator enters CrashLoopBackOff because the AgentRuntime controller can't sync its cache against a non-existent CRD.Suggested fix
Add
bases/agent.kagenti.dev_agentruntimes.yamltoconfig/crd/kustomization.yaml:Reproduction
Workaround
Manually apply the CRD before deploying:
Found during
E2E walkthrough of all 4 AgentCard demo scenarios on OpenShift 4.19 (ROSA), operator built from main at commit 06e0419.