install-kubeadm: use $basearch instead of pinning the arch for RHEL

This commit is contained in:
Lubomir I. Ivanov
2020-03-31 22:11:26 +03:00
parent 0a9886687e
commit 2dfbcd064f
@@ -194,7 +194,7 @@ sudo apt-mark hold kubelet kubeadm kubectl
cat <<EOF > /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64
baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1