Skip to content

Add EditorTemplate to ui.k8s.appscode.com/v1alpha1#654

Merged
tamalsaha merged 1 commit into
masterfrom
editor-ui-template
Jun 26, 2026
Merged

Add EditorTemplate to ui.k8s.appscode.com/v1alpha1#654
tamalsaha merged 1 commit into
masterfrom
editor-ui-template

Conversation

@tamalsaha

Copy link
Copy Markdown
Contributor

What

Adds a single read-only, create-only action kind EditorTemplate to the existing apis/ui/v1alpha1 package.

EditorTemplate loads the editor model, manifest and resources for an existing installation identified by its metadata (optional chartRef). It is the aggregated-API equivalent of kubepack.dev/lib-app/pkg/editor.LoadResourceEditorModel (chart_template.go loadEditorModel2).

Request:  { metadata: {resource, release}, chartRef?: {...} }
Response: { manifest: string, values: <raw>, resources: [{filename, key, data}] }

Generated

make gen output for the ui group only (deepcopy, openapi, clientset) + one violation_exceptions.list entry. Unrelated groups untouched.

Part of a 3-repo change: resource-metadata (type) → ui-server (registry) → b3 (consumer).

kodiakhq[bot]
kodiakhq Bot previously approved these changes Jun 26, 2026
EditorTemplate is a read-only, create-only action resource that loads the editor
model, manifest and resources for an existing installation identified by its
metadata. It wraps kubepack.dev/lib-app/pkg/editor.LoadResourceEditorModel
(chart_template.go loadEditorModel2) and is served by kube-ui-server under a new
editor.ui.k8s.appscode.com API group.

Signed-off-by: Tamal Saha <tamal@appscode.com>
@tamalsaha tamalsaha merged commit 8312d45 into master Jun 26, 2026
8 checks passed
@tamalsaha tamalsaha deleted the editor-ui-template branch June 26, 2026 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant