Repository navigation
feat(EPINIO-819): add push_appchart for OCI chart uploads - #6
Open
psanghvi17 wants to merge 1 commit into
Open
psanghvi17 wants to merge 1 commit into
psanghvi17 wants to merge 1 commit into
Conversation
Expose Epinio's appchart push API on MCP so agents can upload chart archives to the registry, and clarify create/update/delete guidance around pushed charts.
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.
Expose Epinio's appchart push API on MCP so agents can upload chart archives to the registry, and clarify create/update/delete guidance around pushed charts.
What changed
client.PushAppChartforPOST /api/v1/appcharts/push(multipart archive upload).push_appchart(base64 chart archive, optionalbase64:prefix, 8 MiB decoded size cap).create_appchart/update_appchart/delete_appchartdescriptions for pushed vs reference-based charts (behavior unchanged).chart_writepermission on create/push tool descriptions.Why
Epinio already supports OCI appchart push. MCP had create-by-reference and delete, but no way to upload a chart archive into Epinio's registry.
EPINIO-819
What to test
make check.push_appchartwith a valid base64.tgzand a new name → AppChart created;show_appchartshows anoci://…helm chart in Epinio's registry.push_appchartagain with the same name while unused → chart replaced.create_appchart/update_appchart/delete_appchartas before → still work; delete of a pushed chart also removes it from the registry.push_appchart/create_appchartwithoutchart_write→ denied by Epinio.Possible regressions
Existing create/update/delete API calls are unchanged; only tool descriptions were clarified. Adjacent area to spot-check: other multipart upload tools that share the client upload helper.
Type
featureChecklist
make checkpasses (fmt-check, vet, lint, test)EPINIO_MCP_ELEVATED, reaches directly into Kubernetes and needs the standard-elevated RBAC)epinio/docs