Skip to content

Commit

Permalink
upgrade kind and kubectl to latest for DEV-4071 (#27)
Browse files Browse the repository at this point in the history
* upgrade kind and kubectl to latest for DEV-4071

* update kubectl

---------

Co-authored-by: Dan <[email protected]>
  • Loading branch information
alliecraw and dangreenlee authored Apr 22, 2024
1 parent d3b215d commit 427c95a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/newman-k8s-contract-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ jobs:
token: ${{secrets.IS_CICD_GITHUB_ACTION_TOKEN}}
path: kubernetes
- name: Create k8s Kind Cluster
uses: helm/kind-action@v1.2.0
uses: helm/kind-action@v1.9.0
- name: Check kind
run: |
kubectl cluster-info
kubectl get pods -n kube-system
- name: Update kubectl
run: |
curl -LO https://dl.k8s.io/release/v1.21.1/bin/linux/amd64/kubectl
sudo install -o root -g root -m 0755 kubectl /opt/hostedtoolcache/kind/v0.11.1/x86_64/kubectl/bin//kubectl
curl -LO https://dl.k8s.io/release/v1.30.0/bin/linux/amd64/kubectl
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
- name: Set default namespace
run: |
kubectl config set-context --current --namespace=default
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/newman-k8s-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ jobs:
token: ${{secrets.IS_CICD_GITHUB_ACTION_TOKEN}}
path: kubernetes
- name: Create k8s Kind Cluster
uses: helm/kind-action@v1.2.0
uses: helm/kind-action@v1.9.0
- name: Check kind
run: |
kubectl cluster-info
kubectl get pods -n kube-system
- name: Update kubectl
run: |
curl -LO https://dl.k8s.io/release/v1.21.1/bin/linux/amd64/kubectl
sudo install -o root -g root -m 0755 kubectl /opt/hostedtoolcache/kind/v0.11.1/x86_64/kubectl/bin//kubectl
curl -LO https://dl.k8s.io/release/v1.30.0/bin/linux/amd64/kubectl
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
- name: Set default namespace
run: |
kubectl config set-context --current --namespace=default
Expand Down

0 comments on commit 427c95a

Please sign in to comment.