Skip to content

Commit

Permalink
Merge pull request #749 from ccamacho/rke
Browse files Browse the repository at this point in the history
fix: allow unsecure Kubernetes repos
  • Loading branch information
ccamacho committed Jun 3, 2023
2 parents a12a91c + 61f8d52 commit e63f820
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions kubeinit/roles/kubeinit_libvirt/tasks/deploy_ubuntu_guest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,11 @@
set -eo pipefail
apt-get install -y apt-transport-https ca-certificates curl
curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg
echo "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | tee /etc/apt/sources.list.d/kubernetes.list
apt-get update
echo "deb [trusted=yes igned-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | tee /etc/apt/sources.list.d/kubernetes.list
apt-get update --allow-insecure-repositories
args:


args:
executable: /bin/bash
register: _result
Expand Down

0 comments on commit e63f820

Please sign in to comment.