diff options
author | William Hubbs <williamh@gentoo.org> | 2023-09-18 11:04:09 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2023-09-18 11:28:53 -0500 |
commit | a488b4ce58bd2395c950fef1dacbdd981c29e7c0 (patch) | |
tree | 3f66443d2ce129cfea87c2acd1f25d8ed951af2f /sys-cluster/kubelet | |
parent | sys-cluster/kubectl: add 1.28.2 (diff) | |
download | gentoo-a488b4ce58bd2395c950fef1dacbdd981c29e7c0.tar.gz gentoo-a488b4ce58bd2395c950fef1dacbdd981c29e7c0.tar.bz2 gentoo-a488b4ce58bd2395c950fef1dacbdd981c29e7c0.zip |
sys-cluster/kubelet: add 1.28.2
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster/kubelet')
-rw-r--r-- | sys-cluster/kubelet/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kubelet/kubelet-1.28.2.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest index 4dc41192cc36..a57cd8ef92b1 100644 --- a/sys-cluster/kubelet/Manifest +++ b/sys-cluster/kubelet/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/kubelet/kubelet-1.28.2.ebuild b/sys-cluster/kubelet/kubelet-1.28.2.ebuild new file mode 100644 index 000000000000..cd8a1735b583 --- /dev/null +++ b/sys-cluster/kubelet/kubelet-1.28.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module systemd + +DESCRIPTION="Kubernetes Node Agent" +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="selinux? ( sec-policy/selinux-kubernetes )" + +RESTRICT+=" test " +S="${WORKDIR}/kubernetes-${PV}" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN} +} + +src_install() { + dobin _output/bin/${PN} + keepdir /etc/kubernetes/manifests /var/log/kubelet /var/lib/kubelet + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + insinto /etc/logrotate.d + newins "${FILESDIR}"/${PN}.logrotated ${PN} + systemd_dounit "${FILESDIR}"/${PN}.service + insinto /etc/kubernetes + newins "${FILESDIR}"/${PN}.env ${PN}.env +} |