komodorio / helm-dashboard

The missing UI for Helm - visualize your releases
Apache License 2.0
4.93k stars 300 forks source link

Add Support for Preconfigured Helm Repositories via Values File #549

Open josephaw1022 opened 6 days ago

josephaw1022 commented 6 days ago

Description

Currently, the Helm Dashboard UI requires manual input to add Helm chart repositories whenever a new cluster is spun up. This can become repetitive and inefficient for users who manage multiple clusters or frequently create new clusters. It would be beneficial if the repositories could be pre-configured via the values.yaml file during the initial setup, allowing the Helm Dashboard to automatically populate the UI with the predefined repositories. This would save time and reduce manual intervention.

Screenshots

image

Additional information

Proposed Solution:

Introduce the ability to define Helm repositories in the values.yaml file. These values would then be passed into the deployment as environment variables or mounted as a configuration file. Application Reads Configuration:

The Helm Dashboard would read the Helm repository configurations either from environment variables or a file at runtime. The configuration could be handled using a ConfigMap in Kubernetes.


repositories:
    - name: "Komodor"
      url: "https://helm-charts.komodor.io"
    - name: "argo"
      url: "https://argoproj.github.io/helm-chart"

probably would need to think about the username and password fields as well.

undera commented 6 days ago

Very nice suggestion, I like the idea.

Notes for implementation: