diff options
author | William Hubbs <williamh@gentoo.org> | 2022-03-17 22:14:03 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-03-17 22:14:50 -0500 |
commit | 561ec5b3efdb143331ac1440aa686ee3028af413 (patch) | |
tree | 00f00f057b1951a724ae37b0a3bc4e25bf208f0f /sys-cluster | |
parent | sys-cluster/kubectl: add 1.23.5 (diff) | |
download | gentoo-561ec5b3efdb143331ac1440aa686ee3028af413.tar.gz gentoo-561ec5b3efdb143331ac1440aa686ee3028af413.tar.bz2 gentoo-561ec5b3efdb143331ac1440aa686ee3028af413.zip |
sys-cluster/kubelet: add 1.23.5
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/kubelet/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kubelet/kubelet-1.23.5.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest index ed01b28cff53..fd0af5fdb877 100644 --- a/sys-cluster/kubelet/Manifest +++ b/sys-cluster/kubelet/Manifest @@ -5,3 +5,4 @@ DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 2d89424d6b74e99e6c161e4c1fd970aca DIST kubernetes-1.22.7.tar.gz 36046015 BLAKE2B 6c96f9fad5a395eb3540533dc9145597d520a9a1040a2ef9892589de4249d0cc4d946fdb668f0f7829fafdc8453ad2e6cdbe3ef341a1fe34a001873350b0c064 SHA512 83b6a574fa1593f2796da108e01f5938726f34afe5a792e864fe19abd5eee2565456fa8e0e8d4298d912fd8b3d7821a0694e91a626a5fae1dcc010e04cff0302 DIST kubernetes-1.23.3.tar.gz 38184837 BLAKE2B 56148c09db94508d43487dbb6c932bd7f660ba91bb2de04e3bf71db888ed9d7326d12b63c6622bdaaafda7cb00086f342f97da97fcf66e9d022e624e7106e6a2 SHA512 8cb6e3515844cda8afc9ab73b8a87ee5c29f0a9e7e89a82d739c2d1db01826419249ebaf65f7fd347bb95e06be437c40e22ae0f6b4423c7ba67c0f43c9bc0862 DIST kubernetes-1.23.4.tar.gz 38190117 BLAKE2B f68cdc9a428f80606d004cda4ded8eafa1a99974207bec3888efcf077970b1fb5768cfd4a0b572de06891a0754ad6253bf3ec4c9bc12488888b82af193775089 SHA512 1dfb165676c6220671248837a46bc714efa438253291a38726062a755a4e9e4993d5787c0253ca0930b3886c849c89dca2f39dad8cbaaa9c53453b30042c9d98 +DIST kubernetes-1.23.5.tar.gz 38204715 BLAKE2B d42d9826704e923f4a25d788656909c641e77de19f483721436c6760d8d9b44c1805da5522c5a850fcbb0d86114057cf690607ff958536ef6af21e21a1d7b089 SHA512 4df849fcdf0d4ffd9552706600b43b9b248f9039ce05384fef859ce7479a9aa74b4a54a9a147b8be3db1c5c02274e71b31ae34700777fe010fb147cd132d80a2 diff --git a/sys-cluster/kubelet/kubelet-1.23.5.ebuild b/sys-cluster/kubelet/kubelet-1.23.5.ebuild new file mode 100644 index 000000000000..ecbeff2f53f1 --- /dev/null +++ b/sys-cluster/kubelet/kubelet-1.23.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +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" + +BDEPEND=">=dev-lang/go-1.17" + +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 +} |