summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-11-09 13:46:23 -0600
committerWilliam Hubbs <williamh@gentoo.org>2023-11-09 13:46:23 -0600
commit135868d9f1c8995b0714eb164f1f39e26e167b82 (patch)
treeeffe70968275c89ab6113d99e65eb60c350d169b /sys-cluster
parentnet-mail/mu: add 1.10.8 (diff)
downloadgentoo-135868d9f1c8995b0714eb164f1f39e26e167b82.tar.gz
gentoo-135868d9f1c8995b0714eb164f1f39e26e167b82.tar.bz2
gentoo-135868d9f1c8995b0714eb164f1f39e26e167b82.zip
sys-cluster/kubeadm: add 1.28.3
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.3.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/sys-cluster/kubeadm/Manifest b/sys-cluster/kubeadm/Manifest
index 1b48ef4b1476..7e45390d192e 100644
--- a/sys-cluster/kubeadm/Manifest
+++ b/sys-cluster/kubeadm/Manifest
@@ -3,3 +3,4 @@ DIST kubernetes-1.25.14.tar.gz 38489922 BLAKE2B f5bcd1cdee5427e1f5732bbed834a525
DIST kubernetes-1.26.9.tar.gz 38520517 BLAKE2B 4e49686fd083b1aefb314a1f6acbff91437a5f8e6801c20bcf493a29eb99c419c13cd1246efbe4e6baab0da22a19df189a6cda7047eaa14edf7fa895eeca5535 SHA512 9ad42f2ddbd8662b9175d58f06024571e3bc07f3d905f66a9cc5635e41492ed9a9cdb0debe3864990516dacc41afb58265dc918d46a078e77f0889b9ed121427
DIST kubernetes-1.27.6.tar.gz 38249520 BLAKE2B 942a66075e0ec9aec579908f7a3724be2bc5fb0d8f40d8fd3d025221199e97c44e96a13099bff7a408af9847ef0f5568033146cbb1566a608a572418410cfbdf SHA512 147c0eb819a1ea8c2d49467bceacdefe7693082609bce924bbafe9dd7afc27a576bf6b5d350b63da5fb7bf6cdf20983ac681e48539edda777303f81e4e2a72db
DIST kubernetes-1.28.2.tar.gz 39908514 BLAKE2B 1c681294ce6560e678ee75b912466c09ea127fae0d0caf1707a7ed45e7df825345b913cf52ff4b851bf59fb78619ea89c9de0185e11ff3f13516599c72028e07 SHA512 b15948df4251d4f0b50e939354182bd765be2044835ca2fe42d2339309b3dd7a78143f09f41703bafb0f985a049f25aac386204e30db8dc85d554955759cb1e9
+DIST kubernetes-1.28.3.tar.gz 39928717 BLAKE2B 0de1e016c6e5d374afe08552cccd213a55f5c142cce1dc58970bb6c88a857cf8c96f2a0cafe7c542df547eceaa4b9d96a679866d3c364e05e788a74ecf6e475a SHA512 57ed8619ebbf1c2c5a6da299b8eba840f6bb185981eb18f840c7f68b8da91684bbbd0136d993a74caf5711177330f60ea5749c64c75d8d219d62751e09c298bc
diff --git a/sys-cluster/kubeadm/kubeadm-1.28.3.ebuild b/sys-cluster/kubeadm/kubeadm-1.28.3.ebuild
new file mode 100644
index 000000000000..a7a02677a302
--- /dev/null
+++ b/sys-cluster/kubeadm/kubeadm-1.28.3.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}
+}