Skip to content

Commit

Permalink
fix: eks provider pipline kubectl installation (#83)
Browse files Browse the repository at this point in the history
Co-authored-by: Anthony Watson <[email protected]>
  • Loading branch information
acwatson and Anthony Watson authored Apr 2, 2024
1 parent aa5f2b8 commit 2d0411c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ iac-deployment-env-provider:

- echo -e "\e[0Ksection_start:`date +%s`:get_kubectl[collapsed=true]\r\e[0KInstall Kubectl"
- apt install sudo
- curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-archive-keyring.gpg
- echo "deb [signed-by=/etc/apt/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list
- curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.28/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
- echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.28/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list
- sudo apt update
- sudo apt install kubectl
- echo -e "\e[0Ksection_end:`date +%s`:get_kubectl\r\e[0K"
Expand Down

0 comments on commit 2d0411c

Please sign in to comment.