From a158b45a2ee9b5866c210f8b653c52fa70d7aba7 Mon Sep 17 00:00:00 2001 From: hkirat Date: Fri, 29 Nov 2024 03:27:01 +0530 Subject: [PATCH] Added ciush --- .github/workflows/cd_prod.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd_prod.yml b/.github/workflows/cd_prod.yml index a6ab1837..eb6b4f6c 100644 --- a/.github/workflows/cd_prod.yml +++ b/.github/workflows/cd_prod.yml @@ -23,7 +23,12 @@ jobs: - name: Set up kubectl uses: azure/setup-kubectl@v1 with: - kubeconfig: ${{ secrets.KUBE_POSTGRES_CONFIG }} + version: 'latest' + + - name: Set KUBECONFIG environment variable + run: echo "$KUBE_POSTGRES_CONFIG" > $HOME/.kube/config + env: + KUBE_POSTGRES_CONFIG: ${{ secrets.KUBE_POSTGRES_CONFIG }} # Proxy the database (use kubectl port-forward or other mechanisms) - name: Proxy Database using Kubernetes