From 033512b0fafbd3017ed251d7d41519af1050fe8e Mon Sep 17 00:00:00 2001 From: GabrielNathan12 Date: Sun, 11 Aug 2024 22:02:56 -0300 Subject: [PATCH] hotfix: CI/CD --- .github/workflows/ci-cd.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 79f0294..ea1c316 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -65,6 +65,14 @@ jobs: sudo apt-get install helm helm version + - name: Install cert-manager + run: | + kubectl apply --validate=false -f https://github.com/cert-manager/cert-manager/releases/download/v1.12.5/cert-manager.crds.yaml + helm repo add jetstack https://charts.jetstack.io + helm repo update + helm install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --version v1.12.5 + kubectl wait --namespace cert-manager --for=condition=available deployment/cert-manager --timeout=120s + - name: Deploy with Helm run: | helm upgrade --install demo ./k8s --wait