From dc6d036d86c865fe7b82cb1ec4f1e78663bd3a97 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Fri, 13 Jan 2023 12:08:47 -0800 Subject: [PATCH] write helm values to file form secret --- .github/workflows/deploy-gamma.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/deploy-gamma.yml b/.github/workflows/deploy-gamma.yml index f9167c296..2b6258109 100644 --- a/.github/workflows/deploy-gamma.yml +++ b/.github/workflows/deploy-gamma.yml @@ -13,6 +13,10 @@ jobs: uses: azure/setup-helm@v3 with: version: v3.10.0 + - name: Install infisical helm chart + run: | + helm repo add infisical-helm-charts 'https://dl.cloudsmith.io/public/infisical/helm-charts/helm/charts/' + helm repo update - name: Install kubectl uses: azure/setup-kubectl@v3 - name: Install doctl @@ -25,4 +29,10 @@ jobs: run: kubectl config set-context --current --namespace=gamma - name: test kubectl run: kubectl get ingress + - name: Write helm values to file + run: | + echo "${{ secrets.HELM_VALUES_GAMMA }}" > values.yaml + cat values.yml + + \ No newline at end of file