Repository navigation
feat(operator): delegate KapeTool memory provisioning to QdrantCluster CRD - #145
Merged
Merged
Conversation
…r CRD Replace raw StatefulSet provisioning with upstream qdrant-operator CRD delegation. The ToolReconciler now creates a QdrantCluster CRD (qdrant.io/v1alpha1) with an owner reference back to the KapeTool, polls its status.conditions for Ready=True, surfaces a MemoryReady condition with OperatorNotInstalled when the CRD is missing, and threads the resolved connection URL into handler Deployments as QDRANT_URL. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
dzungtr
force-pushed
the
feat/13-kapetool-db-crd
branch
from
July 19, 2026 14:21
fff9592 to
6f2bfed
Compare
Owner
Author
|
Autonomous review + merge pass (rebased onto current main, resolving conflicts in Gates verified locally:
Acceptance criteria for #13 verified in-diff:
Coexistence with #143: external-URL path ( Non-blocking heads-up (NOT a change request — outside the gate spec):
|
This was referenced Oct 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
StatefulSet/Serviceprovisioning with upstream qdrant-operator CRD delegation (QdrantCluster.qdrant.io/v1alpha1)QdrantClusterPortinterface andQdrantClusterAdapterinoperator/infra/qdrant/with CRD discovery, create/update, and status pollingToolReconciler.reconcileMemory()now surfacesMemoryReady=False/OperatorNotInstalledwhen the CRD is absent,QdrantClusterNotReadywhile provisioning, andReady=Trueonce the cluster is upstatus.url(or predictable in-cluster DNS fallback) is injected into handler Deployments asQDRANT_URLviatool.Status.QdrantEndpointinfra/qdrant/from Empty Scaffolds, updated ports/adapters tables and reconciler descriptionTest plan
go test ./operator/...— all new tests pass (6 newQdrantClusterAdaptertests + 3 newToolReconcilermemory-type tests)go build ./operator/...succeedsOperatorNotInstalledcondition when qdrant-operator not installed (no CRD)QdrantClusterNotReadycondition while QdrantCluster is provisioningQDRANT_URLenv var injected into handler Deployment once cluster is readyCloses #13
🤖 Generated with Claude Code