Also pin kubectl version when destroying namespace

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
This commit is contained in:
Johann Hoffmann
2022-05-10 10:58:28 +02:00
parent c02e863d48
commit cdeb07ea2c

View File

@@ -442,6 +442,12 @@ jobs:
run: |
aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
# TODO WIFI-7839 delete when issue is resolved on AWS CLI side
- name: install kubectl
run: |
curl -LO "https://dl.k8s.io/release/v1.23.6/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
- name: Delete namespace
run: kubectl delete ns --ignore-not-found=true ${{ needs.deploy-controller.outputs.namespace }}