Skip to content

Commit

Permalink
Merge pull request clearcontainers#928 from devimc/topic/k8s/allowdow…
Browse files Browse the repository at this point in the history
…ngrades

ci: allow downgrades to install kubernetes
  • Loading branch information
grahamwhaley authored Nov 23, 2018
2 parents 3231724 + 2e19a6a commit 8a80ea6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .ci/install_kubernetes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@ deb http://apt.kubernetes.io/ kubernetes-xenial-unstable main
EOF"
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
chronic sudo -E apt update
chronic sudo -E apt install -y kubelet="$kubernetes_version" kubeadm="$kubernetes_version" kubectl="$kubernetes_version"

chronic sudo -E apt install --allow-downgrades -y kubelet="$kubernetes_version" kubeadm="$kubernetes_version" kubectl="$kubernetes_version"

0 comments on commit 8a80ea6

Please sign in to comment.