diff options
Diffstat (limited to 'sys-cluster/kubernetes/kubernetes-1.18.8.ebuild')
-rw-r--r-- | sys-cluster/kubernetes/kubernetes-1.18.8.ebuild | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys-cluster/kubernetes/kubernetes-1.18.8.ebuild b/sys-cluster/kubernetes/kubernetes-1.18.8.ebuild index e558ad11199b..4888751e39ad 100644 --- a/sys-cluster/kubernetes/kubernetes-1.18.8.ebuild +++ b/sys-cluster/kubernetes/kubernetes-1.18.8.ebuild @@ -13,7 +13,7 @@ SLOT="0" KEYWORDS="~amd64" AGENT="kubelet" -CLI="kubeadm kubectl" +CLI="kubectl" SERVICES="kube-apiserver kube-controller-manager kube-proxy kube-scheduler" IUSE="hardened" for x in ${AGENT} ${CLI} ${SERVICES}; do @@ -88,3 +88,13 @@ src_install() { fi done } + +pkg_postinst() { + local x + for x in ${REPLACING_VERSIONS}; do + if ver_test $x -le 1.18.8; then + ewarn "kubeadm is now packaged as sys-cluster/kubeadm" + ewarn "see https://bugs.gentoo.org/741572" + fi + done +} |