Skip to content

fusion: keep only apiVersion, kind and metadata in values.yaml#174

Merged
tamalsaha merged 1 commit into
masterfrom
fusion-values-minimal-fields
Jun 27, 2026
Merged

fusion: keep only apiVersion, kind and metadata in values.yaml#174
tamalsaha merged 1 commit into
masterfrom
fusion-values-minimal-fields

Conversation

@tamalsaha

Copy link
Copy Markdown
Contributor

What

For fusion charts, trim each resource entry in the generated values.yaml so it keeps only the apiVersion, kind and metadata fields.

Why

The remaining resource fields (e.g. spec) are sourced from the resource's schema defaults, so they don't need to be duplicated in the chart's values.yaml. This keeps the generated values minimal.

Notes

  • The change only affects what gets stored into resourceValues (and hence written to values.yaml). The full cp object is left intact, since it's reused immediately afterward for schema generation (GVR lookup and the HelmRelease → schema conversion, including chart-version resolution).
  • metadata retains its existing minimal shape (name, namespace, plus labels for HelmRelease resources).

kodiakhq[bot]
kodiakhq Bot previously approved these changes Jun 27, 2026
For fusion charts, trim each resource entry in the generated values.yaml
to only the apiVersion, kind and metadata fields. The remaining fields are
sourced from the resource's schema defaults.

Signed-off-by: Tamal Saha <tamal@appscode.com>
@tamalsaha tamalsaha merged commit c56fc87 into master Jun 27, 2026
4 checks passed
@tamalsaha tamalsaha deleted the fusion-values-minimal-fields branch June 27, 2026 07:01
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