Skip to content

[feature] Add support for setting Helm Values to the kind Charts #503

@eklatzer

Description

@eklatzer

Hey 👋 When using the flag add-images in a Charts definition, the Helm templating step fails, if the referenced chart has required Helm values.

apiVersion: content.hauler.cattle.io/v1
kind: Charts
metadata:
  name: charts
spec:
  charts:
    - name: youtrack
      repoURL: https://twenty-20.github.io/helm-charts/
      add-images: true
hauler store sync -f charts.yaml 
2026-01-28 13:46:36 INF processing manifest [charts.yaml] to store [/home/eklatzer/dev/public/hauler/store]
2026-01-28 13:46:36 INF syncing content [content.hauler.cattle.io/v1] with [kind=Charts] to store [/home/eklatzer/dev/public/hauler/store]
2026-01-28 13:46:36 INF adding chart [youtrack] to the store
2026-01-28 13:46:36 INF successfully added chart [youtrack:1.0.21]
2026-01-28 13:46:36 WRN failed to render chart [youtrack]: execution error at (youtrack/templates/configmap.yaml:66:8): ⚠️ baseUrl must be set in values.yaml
2026-01-28 13:46:36 INF processing completed successfully

This handling is currently only supported by using hauler store add chart with --values values.yaml with a valid values.yaml for this chart.

Describe Proposed Solution(s):

A possible solution to solve this would be, to extend the kind Charts by helmValues:

apiVersion: content.hauler.cattle.io/v1
kind: Charts
metadata:
  name: charts
spec:
  charts:
    - name: youtrack
      repoURL: https://twenty-20.github.io/helm-charts/
      add-images: true
      helmValues:
         config:
            baseUrl: "https://something.com"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    To Triage

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions