update key

This commit is contained in:
Rachit Bhargava
2024-02-16 19:58:33 +00:00
parent c9dfa772f7
commit 1bea6daa89

View File

@@ -5,6 +5,7 @@ exec > >(tee -a script.log) 2>&1
# Install the required packages # # Install the required packages #
# -------------------------------------------------------------- # --------------------------------------------------------------
apk upgrade && apk add curl wget zip unzip apk upgrade && apk add curl wget zip unzip
apt-key adv --fetch-keys 'https://packages.sury.org/php/apt.gpg' > /dev/null 2>&1
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && chmod +x ./kubectl && mv ./kubectl /usr/local/bin/kubectl curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && chmod +x ./kubectl && mv ./kubectl /usr/local/bin/kubectl