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 a workflow for publishing Helm charts #2488

Open
ChenYi015 opened this issue Mar 7, 2025 · 4 comments
Open

Add a workflow for publishing Helm charts #2488

ChenYi015 opened this issue Mar 7, 2025 · 4 comments

Comments

@ChenYi015
Copy link

What you would like to be added?

Add a GitHub action workflow for:

  • Publishing helm charts to GHCR, so user can install the trainer Helm chart by specifying OCI image repository and version:

    helm install kubeflow-trainer oci://ghcr.io/kubeflow/helm-charts/kubeflow-trainer
        --version 2.0.0 \
        --namespace kubeflow-system \
        --create-namespace
  • (Optional) Using GH page to host the Helm charts index file index.yaml, so users are able to add trainer as a Helm chart repo like:

    helm repo add kubeflow-trainer https://kubeflow.github.io/trainer

    In this way, users only need to add the Helm repo once and then they can:

    # Update Helm repo index
    helm repo update
    
    # Search repo for available versions of kubeflow-trainer
    helm search repo kubeflow-trainer --versions
    
    # Install the latest version
    helm install kubeflow-trainer kubeflow-trainer/kubeflow-trainer \
        --namespace kubeflow-system \
        --create-namespace
    
    # Install a specified version
    helm install kubeflow-trainer kubeflow-trainer/kubeflow-trainer \
        --version 2.0.0 \
        --namespace kubeflow-system \
        --create-namespace
    

Why is this needed?

Set a workflow to publish Helm charts automatically.

Love this feature?

Give it a 👍 We prioritize the features with most 👍

@andreyvelich
Copy link
Member

/remove-label lifecycle/needs-triage
/good-first-issue
/area deployment

Copy link

@andreyvelich:
This request has been marked as suitable for new contributors.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-good-first-issue command.

In response to this:

/remove-label lifecycle/needs-triage
/good-first-issue
/area deployment

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@RasButAss
Copy link

Hey I was looking to contribute to this issue. Can I start working on it?

@andreyvelich
Copy link
Member

Sure, thank you for your time @RasButAss!
While we are finalizing the Helm Chart PR, you can start working on GitHub action to publish it: #2435
/assign @RasButAss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants