Skip to content

editor: pass chart values to EditorChartValueManifest#173

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

editor: pass chart values to EditorChartValueManifest#173
tamalsaha merged 1 commit into
masterfrom
editor-ui-template

Conversation

@tamalsaha

@tamalsaha tamalsaha commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

What

Refactors pkg/editor/chart_template.go so the editor model/manifest/resources are reconstructed from a chart's values map rather than a full *chart.Chart:

  • Change exported EditorChartValueManifest to accept values map[string]any instead of chrt *chart.Chart.
  • Update loadEditorModel to pass chrt.Chart.Values.
  • Drop the helm.sh/helm/v3/pkg/chart import from this path.

go build ./... passes; the only caller is updated.

Why

Building block for the EditorTemplate aggregated API (editor.ui.k8s.appscode.com), which reconstructs an installation's editor view from values.

Related

kodiakhq[bot]
kodiakhq Bot previously approved these changes Jun 26, 2026
Change exported EditorChartValueManifest to accept the chart values
(map[string]any) instead of the whole *chart.Chart, and update loadEditorModel to
pass chrt.Chart.Values. Drops the helm.sh/helm/v3/pkg/chart dependency from this
path.

Signed-off-by: Tamal Saha <tamal@appscode.com>
@tamalsaha tamalsaha changed the title editor: thread chart values through EditorChartValueManifest editor: pass chart values to EditorChartValueManifest Jun 26, 2026
@tamalsaha tamalsaha merged commit 519cc46 into master Jun 26, 2026
3 of 4 checks passed
@tamalsaha tamalsaha deleted the editor-ui-template branch June 26, 2026 19:38
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