Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
majkshkurti committed Aug 19, 2023
1 parent 09f485b commit 7157fd5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/client-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,17 @@ jobs:
- name: 🎡 Setup Kubectl
uses: azure/setup-kubectl@v3

- name: 🎡 Setup k8s context to home folder from base64 secret
run: |
mkdir -p ~/.kube
echo ${{ secrets.KUBE_CONFIG }} | base64 -d > ~/.kube/config
export KUBECONFIG=~/.kube/config
# - name: 🎡 Setup k8s context to home folder from base64 secret
# run: |
# mkdir -p ~/.kube
# echo ${{ secrets.KUBE_CONFIG }} | base64 -d > ~/.kube/config
# export KUBECONFIG=~/.kube/config

- uses: azure/k8s-set-context@v3
with:
kubeconfig: ${{ secrets.KUBE_CONFIG }}
env:
KUBECONFIG: ${{ secrets.KUBE_CONFIG }}

- name: 🎡 Test kubectl
run: |
Expand Down
1 change: 0 additions & 1 deletion infra/manifests/v2/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,3 @@ spec:
selector:
app: goat-client


0 comments on commit 7157fd5

Please sign in to comment.