diff --git a/.github/workflows/helm-conftest.yaml b/.github/workflows/helm-conftest.yaml index a0b26197..4df62e87 100644 --- a/.github/workflows/helm-conftest.yaml +++ b/.github/workflows/helm-conftest.yaml @@ -11,7 +11,7 @@ jobs: uses: actions/checkout@v4.1.7 - name: Install Dependencies - run: apk add --no-cache curl tar + run: apk add --no-cache curl tar yq - name: Install Conftest run: | diff --git a/.github/workflows/helm-publish.yaml b/.github/workflows/helm-publish.yaml index 811e223b..6140e1d5 100644 --- a/.github/workflows/helm-publish.yaml +++ b/.github/workflows/helm-publish.yaml @@ -67,8 +67,8 @@ jobs: run: | helm plugin install https://github.com/sigstore/helm-sigstore for f in *.tgz ; do - echo "$f" - helm sigstore upload "$d" + echo "Running sigstore upload for chart: $f" + helm sigstore upload "$f" done - name: Generate Helm repo index.yaml shell: bash diff --git a/ci/helm-conftest.sh b/ci/helm-conftest.sh index cb772a20..fd71e8c5 100755 --- a/ci/helm-conftest.sh +++ b/ci/helm-conftest.sh @@ -6,8 +6,11 @@ while IFS= read -r -d '' chart do echo "==============================================================" echo "helm-conftest running for chart: ${chart}..." + # Remove any dependencies as we are not going to test them rm -f "${chart}/requirements.yaml" rm -rf "${chart}/charts" + yq -i 'del(.dependencies)' "${chart}/Chart.yaml" + helm template "${chart}" | conftest -p ci/helm-conftest-policies test - done < <(find stable -maxdepth 1 -mindepth 1 -print0) diff --git a/stable/listmonk/Chart.yaml b/stable/listmonk/Chart.yaml index f39d4e65..9374e0c8 100644 --- a/stable/listmonk/Chart.yaml +++ b/stable/listmonk/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.10 +version: 0.1.11 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to @@ -31,3 +31,14 @@ sources: maintainers: - name: javad-hajiani email: no-reply@deliveryhero.com + +dependencies: +- name: postgresql + repository: https://charts.bitnami.com/bitnami + version: 11.6.26 + condition: postgresql.enable + +annotations: + artifacthub.io/links: | + - name: Helm chart source + url: https://github.com/deliveryhero/helm-charts/tree/master/stable/listmonk diff --git a/stable/listmonk/README.md b/stable/listmonk/README.md index e45da091..2e30f932 100644 --- a/stable/listmonk/README.md +++ b/stable/listmonk/README.md @@ -1,6 +1,6 @@ # listmonk -![Version: 0.1.10](https://img.shields.io/badge/Version-0.1.10-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.1.0](https://img.shields.io/badge/AppVersion-v2.1.0-informational?style=flat-square) +![Version: 0.1.11](https://img.shields.io/badge/Version-0.1.11-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.1.0](https://img.shields.io/badge/AppVersion-v2.1.0-informational?style=flat-square) A Helm chart for listmonk application @@ -17,7 +17,7 @@ helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/listmonk To install a specific version of this chart: ```console -helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/listmonk --version 0.1.10 +helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/listmonk --version 0.1.11 ``` To install the chart with the release name `my-release`: @@ -42,6 +42,12 @@ helm install my-release oci://ghcr.io/deliveryhero/helm-charts/listmonk -f value * +## Requirements + +| Repository | Name | Version | +|------------|------|---------| +| https://charts.bitnami.com/bitnami | postgresql | 11.6.26 | + ## Values | Key | Type | Default | Description | diff --git a/stable/listmonk/requirements.yaml b/stable/listmonk/requirements.yaml deleted file mode 100644 index 5eaa405b..00000000 --- a/stable/listmonk/requirements.yaml +++ /dev/null @@ -1,5 +0,0 @@ -dependencies: -- name: postgresql - repository: https://charts.bitnami.com/bitnami - version: 11.6.26 - condition: postgresql.enable