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

Attempting to host and update helm charts repo index.yaml on github #637

Merged
merged 5 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions .github/workflows/helm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,26 @@ jobs:
shell: bash
run: echo "${GITHUB_TOKEN}" | helm registry login ${REGISTRY} --username ${GITHUB_ACTOR} --password-stdin
env:
REGISTRY: "ghcr.io/${{ github.repository }}"
GITHUB_TOKEN: ${{ github.token }}
- name: Push Helm Charts to Github Container Registry (OCI)
- name: Push Helm Charts to Github Container Registry as OCI packages
shell: bash
run: |
for f in *.tgz ; do
echo "$f"
helm push $f oci://${REGISTRY,,}
done
- name: Generate Helm repo index.yaml
shell: bash
run: |
helm repo index .
- name: Update URLs in index.yaml
uses: mikefarah/yq@v4.44.6
with:
cmd: yq eval -i '. |= .entries[][] |= .urls[0] = "oci://" + env(REGISTRY) + "/" + .name + ":" + .version' index.yaml
- name: Commit index.yaml to master branch
uses: EndBug/add-and-commit@v9.1.4
with:
add: 'index.yaml'
committer_name: GitHub Actions
committer_email: actions@github.com
message: "$GITHUB_ACTION is updating index.yaml for $GITHUB_REF"
7 changes: 6 additions & 1 deletion stable/aws-ebs-csi-driver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ apiVersion: v2
appVersion: 1.16.1
name: aws-ebs-csi-driver
description: A Helm chart for AWS EBS CSI Driver
version: 2.17.1
version: 2.17.2
kubeVersion: ">=1.17.0-0"
home: https://github.com/kubernetes-sigs/aws-ebs-csi-driver
sources:
- https://github.com/deliveryhero/helm-charts/tree/master/stable/aws-ebs-csi-driver
- https://github.com/kubernetes-sigs/aws-ebs-csi-driver
keywords:
- aws
Expand All @@ -14,3 +15,7 @@ keywords:
maintainers:
- name: Kubernetes Authors
url: https://github.com/kubernetes-sigs/aws-ebs-csi-driver/
annotations:
artifacthub.io/links: |
- name: Helm chart source
url: https://github.com/deliveryhero/helm-charts/tree/master/stable/aws-ebs-csi-driver
5 changes: 3 additions & 2 deletions stable/aws-ebs-csi-driver/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# aws-ebs-csi-driver

![Version: 2.17.1](https://img.shields.io/badge/Version-2.17.1-informational?style=flat-square) ![AppVersion: 1.16.1](https://img.shields.io/badge/AppVersion-1.16.1-informational?style=flat-square)
![Version: 2.17.2](https://img.shields.io/badge/Version-2.17.2-informational?style=flat-square) ![AppVersion: 1.16.1](https://img.shields.io/badge/AppVersion-1.16.1-informational?style=flat-square)

A Helm chart for AWS EBS CSI Driver

Expand All @@ -17,7 +17,7 @@ helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/aws-ebs-csi-
To install a specific version of this chart:

```console
helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/aws-ebs-csi-driver --version 2.17.1
helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/aws-ebs-csi-driver --version 2.17.2
```

To install the chart with the release name `my-release`:
Expand All @@ -40,6 +40,7 @@ helm install my-release oci://ghcr.io/deliveryhero/helm-charts/aws-ebs-csi-drive

## Source Code

* <https://github.com/deliveryhero/helm-charts/tree/master/stable/aws-ebs-csi-driver>
* <https://github.com/kubernetes-sigs/aws-ebs-csi-driver>

## Requirements
Expand Down
Loading