stakater / Reloader

A Kubernetes controller to watch changes in ConfigMap and Secrets and do rolling upgrades on Pods with their associated Deployment, StatefulSet, DaemonSet and DeploymentConfig – [✩Star] if you're using it!

Home Page:https://docs.stakater.com/reloader/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ENHANCE] Provide helm chart as OCI artifact

jkroepke opened this issue · comments

Is your feature request related to a problem? Please describe.
It would be nice to provide the helm chart as OCI artifact.

Providing the helm chart as OCI artifact would have benefits for end-users, e.g. removes the required to configure the stakater helm repo or avoids to download the index.yaml on each deployment.

Describe the solution you'd like

You can use the GH Package Registry as OCI repository. For example:

      - name: Login to GitHub Container Registry
        uses: docker/login-action@v3
        with:
          registry: ghcr.io
          username: ${{ github.actor }}
          password: ${{ secrets.GITHUB_TOKEN }}

      - name: Push charts to GHCR
        run: |
          helm package deployments/kubernetes/chart/reloader/
          helm push *.tgz "oci://ghcr.io/${GITHUB_REPOSITORY_OWNER}/charts"

Describe alternatives you've considered
Leave the current legacy approch as-is.

Additional context
Let me know, if you need assistance here.

@jkroepke hi, yeah we can push to oci format helm charts to ghcr. feel free to open a PR and we can guide you with the rest.