From 9f25fa7767720bad76ecb0d0dc4f0dd55ba14b94 Mon Sep 17 00:00:00 2001 From: Mario Trangoni Date: Tue, 16 Jan 2024 20:26:46 +0100 Subject: [PATCH] Refactor helm chart Chart.yaml, fix CI helm installation Signed-off-by: Mario Trangoni --- .github/workflows/lint-test.yaml | 6 +++++ .../cert-manager-webhook-hetzner/Chart.yaml | 22 ++++++++++++++++--- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index b7b673c..2789273 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -43,6 +43,12 @@ jobs: if: steps.list-changed.outputs.changed == 'true' uses: helm/kind-action@v1.8.0 + - name: Install cert-manager + run: | + kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.13.3/cert-manager.yaml + kubectl wait --timeout=5m --for=condition=available deployment cert-manager -n cert-manager + kubectl wait --timeout=5m --for=condition=available deployment cert-manager-webhook -n cert-manager + - name: Run chart-testing (install) if: steps.list-changed.outputs.changed == 'true' run: ct install --config .github/linters/ct.yaml diff --git a/deploy/cert-manager-webhook-hetzner/Chart.yaml b/deploy/cert-manager-webhook-hetzner/Chart.yaml index 8442d12..4ba7bca 100644 --- a/deploy/cert-manager-webhook-hetzner/Chart.yaml +++ b/deploy/cert-manager-webhook-hetzner/Chart.yaml @@ -1,5 +1,21 @@ -apiVersion: v1 +apiVersion: v2 +name: cert-manager-webhook-hetzner +version: 1.3.1 appVersion: "1.3.0" +kubeVersion: ">= 1.22.0-0" description: Allow cert-manager to solve DNS challenges using Hetzner DNS API -name: cert-manager-webhook-hetzner -version: 1.3.0 +home: https://github.com/vadimkim/cert-manager-webhook-hetzner +icon: https://raw.githubusercontent.com/cert-manager/cert-manager/master/logo/logo-small.png +keywords: + - cert-manager + - hetzner + - kube-lego + - letsencrypt + - tls +sources: + - https://github.com/vadimkim/cert-manager-webhook-hetzner +maintainers: + - name: vadimkim + email: vadim@ant.ee +annotations: + artifacthub.io/license: Apache-2.0