Skip to content

Add a workflow for publishing Helm charts #2488

@ChenYi015

Description

@ChenYi015

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 👍

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions