base64 encode the kubeconfig

This commit is contained in:
Martin McKeaveney 2022-08-18 12:21:01 +01:00
parent cbcdc3c955
commit 6b2a0ce16f
2 changed files with 8 additions and 2 deletions

View File

@ -69,10 +69,13 @@ jobs:
env:
KUBECONFIG_FILE: '${{ secrets.RELEASE_KUBECONFIG }}'
- name: Set the base64 kubeconfig
run: echo 'RELEASE_KUBECONFIG=${{ secrets.RELEASE_KUBECONFIG }}' | base64
- name: Re roll the services
uses: actions-hub/kubectl@master
env:
KUBE_CONFIG: '${{ secrets.RELEASE_KUBECONFIG }}'
KUBE_CONFIG: ${{ env.RELEASE_KUBECONFIG }}
with:
args: rollout restart deployment proxy-service -n budibase && kubectl rollout restart deployment app-service -n budibase && kubectl rollout restart deployment worker-service -n budibase

View File

@ -121,10 +121,13 @@ jobs:
env:
KUBECONFIG_FILE: '${{ secrets.RELEASE_KUBECONFIG }}'
- name: Set the base64 kubeconfig
run: echo 'RELEASE_KUBECONFIG=${{ secrets.RELEASE_KUBECONFIG }}' | base64
- name: Re roll the services
uses: actions-hub/kubectl@master
env:
KUBE_CONFIG: ${{ secrets.RELEASE_KUBECONFIG }}
KUBE_CONFIG: ${{ env.RELEASE_KUBECONFIG }}
with:
args: rollout restart deployment proxy-service -n budibase && kubectl rollout restart deployment app-service -n budibase && kubectl rollout restart deployment worker-service -n budibase