Skip to content

Commit

Permalink
Fix apt key in terraform-aws
Browse files Browse the repository at this point in the history
Probably the GPG key used for signing the k8s packages has changed.
Fetch and install the correct one before installing k8s packages.
  • Loading branch information
ldx committed Apr 6, 2021
1 parent a80d595 commit 6a27143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/terraform-aws/node.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6A030B21BA07F4FB
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
cat <<EOF > /etc/apt/sources.list.d/kubernetes.list
deb http://apt.kubernetes.io/ kubernetes-xenial main
EOF
Expand Down

0 comments on commit 6a27143

Please sign in to comment.