From 5610bd5de17f29622a76c31bbdb12b659e726b36 Mon Sep 17 00:00:00 2001 From: Max Williams Date: Wed, 11 Dec 2024 09:53:53 +0100 Subject: [PATCH 1/4] update actions to include all steps --- .github/workflows/helm-publish.yaml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/helm-publish.yaml b/.github/workflows/helm-publish.yaml index 360bffff..a697ba30 100644 --- a/.github/workflows/helm-publish.yaml +++ b/.github/workflows/helm-publish.yaml @@ -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" From dddb25e8164c06360fc77cb29a6d46ecfb16565b Mon Sep 17 00:00:00 2001 From: Max Williams Date: Wed, 11 Dec 2024 09:56:19 +0100 Subject: [PATCH 2/4] add a small chart change --- stable/aws-ebs-csi-driver/Chart.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stable/aws-ebs-csi-driver/Chart.yaml b/stable/aws-ebs-csi-driver/Chart.yaml index b1e78289..fdfb2e3d 100644 --- a/stable/aws-ebs-csi-driver/Chart.yaml +++ b/stable/aws-ebs-csi-driver/Chart.yaml @@ -6,6 +6,7 @@ version: 2.17.1 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 @@ -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 From 58782e7670e43e6337b1b8fd173b33c3e1466062 Mon Sep 17 00:00:00 2001 From: Max Williams Date: Wed, 11 Dec 2024 09:57:56 +0100 Subject: [PATCH 3/4] update chart readme --- stable/aws-ebs-csi-driver/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/stable/aws-ebs-csi-driver/README.md b/stable/aws-ebs-csi-driver/README.md index a40883af..92729d76 100644 --- a/stable/aws-ebs-csi-driver/README.md +++ b/stable/aws-ebs-csi-driver/README.md @@ -40,6 +40,7 @@ helm install my-release oci://ghcr.io/deliveryhero/helm-charts/aws-ebs-csi-drive ## Source Code +* * ## Requirements From 29eb358910ae71e3c56675488445d1731d7e4e62 Mon Sep 17 00:00:00 2001 From: Max Williams Date: Wed, 11 Dec 2024 10:04:52 +0100 Subject: [PATCH 4/4] bump version --- stable/aws-ebs-csi-driver/Chart.yaml | 2 +- stable/aws-ebs-csi-driver/README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stable/aws-ebs-csi-driver/Chart.yaml b/stable/aws-ebs-csi-driver/Chart.yaml index fdfb2e3d..a39b6669 100644 --- a/stable/aws-ebs-csi-driver/Chart.yaml +++ b/stable/aws-ebs-csi-driver/Chart.yaml @@ -2,7 +2,7 @@ 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: diff --git a/stable/aws-ebs-csi-driver/README.md b/stable/aws-ebs-csi-driver/README.md index 92729d76..164691f8 100644 --- a/stable/aws-ebs-csi-driver/README.md +++ b/stable/aws-ebs-csi-driver/README.md @@ -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 @@ -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`: