Skip to content

Commit

Permalink
create .kube directory
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gilber committed Nov 6, 2023
1 parent 0d9c60a commit 03a23e7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
- name: Setup k3s
run: |
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=${{ matrix.k3s_version }} sh -
mkdir -p ~/.kube
sudo cp ${{ env.K3S_KUBECONFIG }} ~/.kube/config
chown $USER ~/.kube/config
chmod 600 ~/.kube/config
Expand All @@ -52,8 +53,8 @@ jobs:
- name: Get Version and Nodes
run: |
ls -la ${{ env.KUBECONFIG }}
# kubectl version
# kubectl get nodes
kubectl version
kubectl get nodes
# - name: Checkout repository
# uses: actions/checkout@v4 # https://github.com/marketplace/actions/checkout
Expand Down

0 comments on commit 03a23e7

Please sign in to comment.