Skip to content

Commit

Permalink
DE kubectl get nodes test
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartosz Nowak committed Oct 31, 2023
1 parent 526b86f commit b5892a2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/dynamic_enviroment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ jobs:
- name: Create kubeconfig
run: |
mkdir -p $GITHUB_WORKSPACE/.kube
echo ${{ secrets.KUBE_CONFIG }} | base64 --decode > ${GITHUB_WORKSPACE}/.kube/config
export KUBECONFIG=${GITHUB_WORKSPACE}/.kube/config
echo "${cat ${GITHUB_WORKSPACE}/.kube/config}"
echo ${{ secrets.KUBE_CONFIG }} | base64 --decode > $GITHUB_WORKSPACE/.kube/config
export KUBECONFIG=$GITHUB_WORKSPACE/.kube/config
echo "$GITHUB_WORKSPACE/.kube/config"
echo "${cat $GITHUB_WORKSPACE/.kube/config}"
- name: Use context
run: kubectl config use-context kubernetes-admin-visoft.solutions.cluster@visoft.solutions.cluster
Expand Down

0 comments on commit b5892a2

Please sign in to comment.