Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Preconfigured Helm Repositories via Values File #549

Open
josephaw1022 opened this issue Sep 28, 2024 · 1 comment
Open
Labels
-★- Favorite item help wanted Extra attention is needed

Comments

@josephaw1022
Copy link

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 undera added help wanted Extra attention is needed -★- Favorite item labels Sep 29, 2024
@undera
Copy link
Collaborator

undera commented Sep 29, 2024

Very nice suggestion, I like the idea.

Notes for implementation:

  • the open question is how to pass the list of repos to HD, cli options or env vars are not very suitable, and we don't have any config files
  • another question is that we internally have app per k8s context, easy to set for in-cluster setup, harder for local multi-cluster. Probably needs to have more complex structure of configuration.
  • app.Repositories.Add() needs to be called to add the repo, it has all the parameters needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-★- Favorite item help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants