summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-09-18 11:03:54 -0500
committerWilliam Hubbs <williamh@gentoo.org>2023-09-18 11:28:43 -0500
commitfd8a1eb52e21c870e23c1e9efb66d85e825f34f6 (patch)
tree8fea6219d88a52a2d0b19aea3a311872818bf542 /sys-cluster
parentmedia-libs/libpano13: version bump (diff)
downloadgentoo-fd8a1eb52e21c870e23c1e9efb66d85e825f34f6.tar.gz
gentoo-fd8a1eb52e21c870e23c1e9efb66d85e825f34f6.tar.bz2
gentoo-fd8a1eb52e21c870e23c1e9efb66d85e825f34f6.zip
sys-cluster/kubeadm: add 1.28.2
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/kubeadm/Manifest1
-rw-r--r--sys-cluster/kubeadm/kubeadm-1.28.2.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/sys-cluster/kubeadm/Manifest b/sys-cluster/kubeadm/Manifest
index 4dc41192cc36..a57cd8ef92b1 100644
--- a/sys-cluster/kubeadm/Manifest
+++ b/sys-cluster/kubeadm/Manifest
@@ -7,3 +7,4 @@ DIST kubernetes-1.27.5.tar.gz 38204018 BLAKE2B 4b44430f7854fca70f650c31388b9d378
DIST kubernetes-1.27.6.tar.gz 38249520 BLAKE2B 942a66075e0ec9aec579908f7a3724be2bc5fb0d8f40d8fd3d025221199e97c44e96a13099bff7a408af9847ef0f5568033146cbb1566a608a572418410cfbdf SHA512 147c0eb819a1ea8c2d49467bceacdefe7693082609bce924bbafe9dd7afc27a576bf6b5d350b63da5fb7bf6cdf20983ac681e48539edda777303f81e4e2a72db
DIST kubernetes-1.28.0.tar.gz 42229948 BLAKE2B c514577fa3cdeee6fa1d6f488de74b56845e3cfaf7f810ecd4ec9c023f034e0c50b647ebf5b60eb26b9387b79d060a6aeee9eee43fab904094ec767603fc5c6d SHA512 dcb5f2ec3fec841a3a1678ac88473b355f13cad1543b5098a2f1fe1d217e34fb46727c1345bbd35945eb4164aa4fe069ebdefc2328c8797671caa9a5be0f8fd6
DIST kubernetes-1.28.1.tar.gz 39881720 BLAKE2B 9f56e1a9d2c45948c3c4baca99b16e8b73cb2e375088b9d3badd1664ebd178a052855c235637ac2f596cbb02ec440958710f39bd5dbd34e37f74c4260dd8cf65 SHA512 cc28483e09f7a3861bf1b8f7867e3295f8879a2c0a2a851ce14f41158c8ea3cb080ae697dc897d8a55efd3a7f0dcbfcca2d39dff6fd9ca0dd1b5762c1010fb09
+DIST kubernetes-1.28.2.tar.gz 39908514 BLAKE2B 1c681294ce6560e678ee75b912466c09ea127fae0d0caf1707a7ed45e7df825345b913cf52ff4b851bf59fb78619ea89c9de0185e11ff3f13516599c72028e07 SHA512 b15948df4251d4f0b50e939354182bd765be2044835ca2fe42d2339309b3dd7a78143f09f41703bafb0f985a049f25aac386204e30db8dc85d554955759cb1e9
diff --git a/sys-cluster/kubeadm/kubeadm-1.28.2.ebuild b/sys-cluster/kubeadm/kubeadm-1.28.2.ebuild
new file mode 100644
index 000000000000..a7a02677a302
--- /dev/null
+++ b/sys-cluster/kubeadm/kubeadm-1.28.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit bash-completion-r1 go-module
+
+DESCRIPTION="CLI to Easily bootstrap a secure Kubernetes cluster"
+HOMEPAGE="https://kubernetes.io"
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened selinux"
+
+BDEPEND=">=dev-lang/go-1.20"
+RDEPEND="app-containers/cri-tools
+ selinux? ( sec-policy/selinux-kubernetes )"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" FORCE_HOST_GO=yes \
+ emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+ dobin _output/bin/${PN}
+ _output/bin/${PN} completion bash > ${PN}.bash || die
+ _output/bin/${PN} completion zsh > ${PN}.zsh || die
+ newbashcomp ${PN}.bash ${PN}
+ insinto /usr/share/zsh/site-functions
+ newins ${PN}.zsh _${PN}
+}