summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2024-01-02 10:22:11 -0600
committerWilliam Hubbs <williamh@gentoo.org>2024-01-02 11:09:38 -0600
commit81a1c0d709fd374b608b57a61215555aff118b7e (patch)
tree8638a5b6f5b470979ff5feec039a8ba5e0821df2 /sys-cluster
parentwww-apps/sonarr: remove unnecessary glibc dependency (diff)
downloadgentoo-81a1c0d709fd374b608b57a61215555aff118b7e.tar.gz
gentoo-81a1c0d709fd374b608b57a61215555aff118b7e.tar.bz2
gentoo-81a1c0d709fd374b608b57a61215555aff118b7e.zip
sys-cluster/kubeadm: add 1.28.5
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.5.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/sys-cluster/kubeadm/Manifest b/sys-cluster/kubeadm/Manifest
index 91a22bf02ca2..863cdaccfee8 100644
--- a/sys-cluster/kubeadm/Manifest
+++ b/sys-cluster/kubeadm/Manifest
@@ -6,3 +6,4 @@ DIST kubernetes-1.27.6.tar.gz 38249520 BLAKE2B 942a66075e0ec9aec579908f7a3724be2
DIST kubernetes-1.27.7.tar.gz 38489371 BLAKE2B cc2e3a5310241adf24d7140ec1f27bd35ba5050d5928996899f0e16cad018f216eb121bb6e84fce02ce3d9a58c4b0fcdec0923f10b45465486f1cd3d6beb8ab7 SHA512 d5045332df6b64b91c25f035bca6aee59266128e6e59a5dc36bfc4d68e53dcdf78bbe75b97194da59931a6ad23e77b7f2d446bdf131c3a0bb74f954344179c04
DIST kubernetes-1.28.2.tar.gz 39908514 BLAKE2B 1c681294ce6560e678ee75b912466c09ea127fae0d0caf1707a7ed45e7df825345b913cf52ff4b851bf59fb78619ea89c9de0185e11ff3f13516599c72028e07 SHA512 b15948df4251d4f0b50e939354182bd765be2044835ca2fe42d2339309b3dd7a78143f09f41703bafb0f985a049f25aac386204e30db8dc85d554955759cb1e9
DIST kubernetes-1.28.3.tar.gz 39928717 BLAKE2B 0de1e016c6e5d374afe08552cccd213a55f5c142cce1dc58970bb6c88a857cf8c96f2a0cafe7c542df547eceaa4b9d96a679866d3c364e05e788a74ecf6e475a SHA512 57ed8619ebbf1c2c5a6da299b8eba840f6bb185981eb18f840c7f68b8da91684bbbd0136d993a74caf5711177330f60ea5749c64c75d8d219d62751e09c298bc
+DIST kubernetes-1.28.5.tar.gz 39965011 BLAKE2B 96a4b0c181d6703566791251d7b9e2df3a1964a4508ef8c4eb4716340d6190316b8f83efcf727c8c5733efe1065764bb799cc7c056742a374fd555aea432979d SHA512 555ab64dc8df2abc7db217aaf3fc8a1fbfb8aeb91b7c29516844577aa82f8f09b2c0bf2c58fe638b1f484812818e200c7b2f1833b1f5eb76e3a69a6b7bca755b
diff --git a/sys-cluster/kubeadm/kubeadm-1.28.5.ebuild b/sys-cluster/kubeadm/kubeadm-1.28.5.ebuild
new file mode 100644
index 000000000000..b5dc256f5336
--- /dev/null
+++ b/sys-cluster/kubeadm/kubeadm-1.28.5.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2021-2024 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}
+}