diff options
author | William Hubbs <williamh@gentoo.org> | 2023-01-20 15:00:46 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2023-01-20 15:00:46 -0600 |
commit | 7621ffe2a3cf3f5123c7d213f81e0c8f91b4ef89 (patch) | |
tree | 483ff404c0b5d51b71027c27332982257794fd8d /sys-cluster | |
parent | sys-cluster/kube-scheduler: add 1.25.6 (diff) | |
download | gentoo-7621ffe2a3cf3f5123c7d213f81e0c8f91b4ef89.tar.gz gentoo-7621ffe2a3cf3f5123c7d213f81e0c8f91b4ef89.tar.bz2 gentoo-7621ffe2a3cf3f5123c7d213f81e0c8f91b4ef89.zip |
sys-cluster/kubeadm: add 1.26.1
Bug: https://bugs.gentoo.org/889732
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/kubeadm/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kubeadm/kubeadm-1.26.1.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/sys-cluster/kubeadm/Manifest b/sys-cluster/kubeadm/Manifest index 3661a73d544f..f82c15021ef2 100644 --- a/sys-cluster/kubeadm/Manifest +++ b/sys-cluster/kubeadm/Manifest @@ -5,3 +5,4 @@ DIST kubernetes-1.24.9.tar.gz 37831367 BLAKE2B 695c5680dbcf40723be7075c71bef598d DIST kubernetes-1.25.5.tar.gz 38145275 BLAKE2B fe152017f00e6c9760a122447ee6ac8053e3d6804a2d30a1ced3fa476e6ced110c3dd30f9040ebf320832fd696f268df2bf9463f349d4924c3d465322c8c2ed4 SHA512 6786dc02f7d14c3a974511542068649c6ffdba20c6d56fcb7df497c387f37841badf851ea01a3e6c9ca02732ea5e0201947a0221a9552c0c9340ff6410703b5a DIST kubernetes-1.25.6.tar.gz 38158861 BLAKE2B af116c78d216477ab757523f66b3332ef982b49384145a69d1b5641b0929b7179171814f89bbba1950b0ab69476e9e48722e8b9b04f0e77610d7dc602d4bac65 SHA512 47e0f736ee7efc614a2e8ed08acd95b64ee78484ac735ca515a03607634a9a94e2d7f3989db300f130506390a93eebb32fba4e54fe2869e3c782932f9b9a033b DIST kubernetes-1.26.0.tar.gz 40269668 BLAKE2B ebfa202d834d2560b3d1c3cced997796e1c1617b9975e47db0dcc8350541cf38781aa4e82c3fcb87476e84949058f9e603dd4040927773f04b35156b5df856ac SHA512 2737007c1525fc618b9843a15405024c1b4735be05bff7190f041e5ae43b2439d195430ef93f5b2ffb26d6d5394bdfc0bf2d03e0f104ddfe96d682b952cb001c +DIST kubernetes-1.26.1.tar.gz 38162001 BLAKE2B e3589eb702da49786b3363c16a2a405721c2130fe9814c41af94c5d466e7946732c05da46ccecce915e3d80ea122c3a60d1c5b00a86cfed8b7238bd74daa041e SHA512 8794322c1e943ca47a059e6866bda9dee04acc8a202a984efe5c82403e394c4f5aa2c0218fb43582016c7276e17e837f64c39fc3af0c633461bf026aaacc97ae diff --git a/sys-cluster/kubeadm/kubeadm-1.26.1.ebuild b/sys-cluster/kubeadm/kubeadm-1.26.1.ebuild new file mode 100644 index 000000000000..22d5c3c24d63 --- /dev/null +++ b/sys-cluster/kubeadm/kubeadm-1.26.1.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" +IUSE="hardened selinux" + +BDEPEND=">=dev-lang/go-1.19" +RDEPEND="app-containers/cri-tools + selinux? ( sec-policy/selinux-kubernetes )" + +RESTRICT+=" test" +S="${WORKDIR}/kubernetes-${PV}" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + 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} +} |