From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 23CD1138334 for ; Mon, 14 Jan 2019 14:34:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66274E0C87; Mon, 14 Jan 2019 14:34:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 31FF9E0C87 for ; Mon, 14 Jan 2019 14:34:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2F134335D04 for ; Mon, 14 Jan 2019 14:34:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A0033455 for ; Mon, 14 Jan 2019 14:34:18 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1547476438.5853d927bfeaa19de0843b7c73a17144d123e0fa.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kubeadm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/kubeadm/Manifest sys-cluster/kubeadm/kubeadm-1.13.2.ebuild sys-cluster/kubeadm/metadata.xml X-VCS-Directories: sys-cluster/kubeadm/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 5853d927bfeaa19de0843b7c73a17144d123e0fa X-VCS-Branch: master Date: Mon, 14 Jan 2019 14:34:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4c1f08e6-fc29-4653-83ff-05a503fee858 X-Archives-Hash: 41384ad17cae33a8bdf316cf744556c2 commit: 5853d927bfeaa19de0843b7c73a17144d123e0fa Author: Dan Molik danmolik com> AuthorDate: Fri Jan 11 15:03:28 2019 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Mon Jan 14 14:33:58 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5853d927 sys-cluster/kubeadm: New Package kubeadm is the new stable tool for standing up kubernetes clusters. It reached general availability in 1.13.0 and is positioned to become the go to tool to bootstap kuberentes clusters. Package-Manager: Portage-2.3.55, Repoman-2.3.12 Signed-off-by: Dan Molik danmolik.com> Tested-by: Dan Molik danmolik.com> Signed-off-by: Manuel Rüger gentoo.org> sys-cluster/kubeadm/Manifest | 1 + sys-cluster/kubeadm/kubeadm-1.13.2.ebuild | 47 +++++++++++++++++++++++++++++++ sys-cluster/kubeadm/metadata.xml | 30 ++++++++++++++++++++ 3 files changed, 78 insertions(+) diff --git a/sys-cluster/kubeadm/Manifest b/sys-cluster/kubeadm/Manifest new file mode 100644 index 00000000000..5ecce56fc15 --- /dev/null +++ b/sys-cluster/kubeadm/Manifest @@ -0,0 +1 @@ +DIST kubernetes-1.13.2.tar.gz 28771642 BLAKE2B 4a5c5a8e0c05faab3fb6a26854e7c8643b893c2a1f5d5b56aacea869d86426dffe358222034b826d66dfd19855bee71cad7356ff483c27218019e4adda499ce7 SHA512 2f24119fc21d7bdbb60174b46da94ce3f2f6a3c638e9d96323c93c20039aeb06f9c9a3a48c43bb36b71eff25cf72967e780e3339b35ad7ad7a7a7c35662c96bd diff --git a/sys-cluster/kubeadm/kubeadm-1.13.2.ebuild b/sys-cluster/kubeadm/kubeadm-1.13.2.ebuild new file mode 100644 index 00000000000..6c4b699b759 --- /dev/null +++ b/sys-cluster/kubeadm/kubeadm-1.13.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit golang-build golang-vcs-snapshot bash-completion-r1 + +EGO_PN="k8s.io/kubernetes" +ARCHIVE_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="CLI to Easily bootstrap a secure Kubernetes cluster" +HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io" +SRC_URI="${ARCHIVE_URI}" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +DEPEND=">=dev-lang/go-1.11 + dev-go/go-bindata" + +RESTRICT="test" + +src_prepare() { + default + sed -i -e "/vendor\/github.com\/jteeuwen\/go-bindata\/go-bindata/d" -e "s/-s -w/-w/" src/${EGO_PN}/hack/lib/golang.sh || die + sed -i -e "/export PATH/d" src/${EGO_PN}/hack/generate-bindata.sh || die +} + +src_compile() { + LDFLAGS="" GOPATH="${WORKDIR}/${P}" emake -j1 -C src/${EGO_PN} WHAT=cmd/${PN} GOFLAGS=-v + pushd src/${EGO_PN} || die + _output/bin/${PN} completion bash > ${PN}.bash || die + _output/bin/${PN} completion zsh > ${PN}.zsh || die + popd || die +} + +src_install() { + pushd src/${EGO_PN} || die + dobin _output/bin/${PN} + + newbashcomp ${PN}.bash ${PN} + insinto /usr/share/zsh/site-functions + newins ${PN}.zsh _${PN} + + popd || die +} diff --git a/sys-cluster/kubeadm/metadata.xml b/sys-cluster/kubeadm/metadata.xml new file mode 100644 index 00000000000..c1a4c821066 --- /dev/null +++ b/sys-cluster/kubeadm/metadata.xml @@ -0,0 +1,30 @@ + + + + + dan@danmolik.com + Dan Molik + + + mrueg@gentoo.org + Manuel Rüger + + + proxy-maint@gentoo.org + Proxy Maintainers + + + kubeadm performs the actions necessary to get a minimum viable cluster up + and running. By design, it cares only about bootstrapping, not about + provisioning machines. Likewise, installing various nice-to-have addons, + like the Kubernetes Dashboard, monitoring solutions, and cloud-specific + addons, is not in scope. + + Instead, we expect higher-level and more tailored tooling to be built on + top of kubeadm, and ideally, using kubeadm as the basis of all deployments + will make it easier to create conformant clusters. + + + kubernetes/kubernetes + +