Repository navigation
feat(helm): add optional OASF-SDK extractor server subchart - #2073
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Signed-off-by: András Jáky <[email protected]>
Signed-off-by: András Jáky <[email protected]>
akijakya
force-pushed
the
feat/oasf-sdk-server-deployment
branch
from
September 1, 2026 16:01
d441098 to
f68bc94
Compare
akijakya
marked this pull request as ready for review
September 1, 2026 16:02
There was a problem hiding this comment.
Pull request overview
Adds an optional OASF-SDK extractor subchart for clustered natural-language search.
Changes:
- Adds and configures the pinned OASF-SDK Helm dependency.
- Derives the extractor’s cluster DNS address while respecting explicit overrides.
- Enables the extractor in Kind and documents deployment.
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
tests/e2e/local/testenv/kind/dir-chart-values.yaml |
Enables the extractor in Kind. |
install/charts/dir/values.yaml |
Exposes umbrella-chart defaults. |
install/charts/dir/apiserver/values.yaml |
Defines extractor and subchart settings. |
install/charts/dir/apiserver/templates/configmap.yaml |
Injects the resolved extractor address. |
install/charts/dir/apiserver/templates/_helpers.tpl |
Resolves Service name and address. |
install/charts/dir/apiserver/Chart.yaml |
Adds the optional dependency. |
install/charts/dir/apiserver/Chart.lock |
Locks OASF-SDK v1.3.0. |
docs/content/dir/dir-deployment-kubernetes.md |
Documents extractor deployment and operation. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
3 tasks
paralta
approved these changes
Sep 2, 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.
Problem Statement
The directory chart has no extractor, so the gateway's natural-language endpoints (
POST /v1/search,POST /v1/extract) have nothing to turn free text into OASF classes.dirctl initprovisions those assets locally, but there is nowhere to run it in a cluster.Proposed Changes
Adds
oasf-sdkv1.3.0 as an optional apiserver subchart, gatedcondition: oasf-sdk.enabledand defaulted off, mirroring the existing optionaloasfsubchart. When enabled,config.extractor.remote_addris derived from the rendered Service DNS name; an explicitly configured address always wins. Nothing is written toserver.config.ymlunless an address resolves, so the default render is unchanged. Also enables it in the local kind testenv and documents it in the Kubernetes deployment guide.The chart sets
OASF_SDK_EXTRACTOR_OASF_URL, which is required: the OASF-SDK server registersExtractorServiceonly when it is set, and without it the pod starts, passes its health check, and fails every call withunknown service agntcy.oasfsdk.extractor.v1.ExtractorService.Review notes
The values key is
oasf-sdk, notoasfSdkas the issue specified. Helm turns a dependency alias into the subchart's.Chart.Name, and the upstream chart names its container after it, so aliasing renders- name: oasfSdk— invalid, since container names must be lowercase DNS labels.v1.3.0 is pinned deliberately. It ships the embedding model inside the image, so the server no longer downloads it from
huggingface.coat startup and runs where that host is unreachable — at the cost of a ~90 MB pull. v1.2.0 is the hard floor regardless, since earlier chart versions always rendernodePort, which Kubernetes rejects on aClusterIPService (agntcy/oasf-sdk#179).The pod still needs the OASF schema URL reachable on every start, to fetch and embed the taxonomy before going ready — roughly 40 seconds. A new OASF release is picked up by restarting the pod.
Verification
Default render is byte-identical to before the change. With the subchart enabled the Service is
ClusterIPwith nonodePortand the apiserver config points at it. Verified end to end on the local kind testenv:POST /v1/extractreturns ranked OASF skills and domains through the gateway.task lint,task test:helmandtask test:unitpass.Closes #1907