diff options
author | William Hubbs <williamh@gentoo.org> | 2023-07-05 16:31:25 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2023-07-05 16:31:25 -0500 |
commit | 0e989107054112a6abfb828c651cb8c5e33ad472 (patch) | |
tree | 828a584ca3400cbf8fd6338f2269d091425fef58 /sys-cluster | |
parent | sys-cluster/kubectl: add 1.24.15 (diff) | |
download | gentoo-0e989107054112a6abfb828c651cb8c5e33ad472.tar.gz gentoo-0e989107054112a6abfb828c651cb8c5e33ad472.tar.bz2 gentoo-0e989107054112a6abfb828c651cb8c5e33ad472.zip |
sys-cluster/kubelet: add 1.24.15
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.24.15.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest index 469297c99b66..a6fe07d944cb 100644 --- a/sys-cluster/kubelet/Manifest +++ b/sys-cluster/kubelet/Manifest @@ -1,4 +1,5 @@ DIST kubernetes-1.24.14.tar.gz 37908337 BLAKE2B 08f52b611bea49f1c204a4fb956d87be6f571ef122b4cc10101862c61d11751d944d9140c4355be95759f83240cb8a3d4879c72e077bdc10f235d03b1a0f99f7 SHA512 74cee62fdc7e0dca1430688e832d3b308b6604dee6ca88d5f19fd6b6a9c83833d003ae87d8a09866e2e8fd01cbde0a6ae4bd126f9845f770c76942f1772f04bb +DIST kubernetes-1.24.15.tar.gz 38151496 BLAKE2B 47064fefb135031ed220341d34519b4ee2e6fb5996e4bacdfd94e5dd01c1e70b0ca56c0eda45208039004ab9f0f2c3d1de3d77f450d7a59ab5ccd1c6e4dc8b0e SHA512 48e450c76fe3c9bd8460a18bbff204ba7b548c807f984ba86ff388206bfc8a178d96718df377a354c88a99c66b54013ee85ba18b7778bd68cee610955abf2498 DIST kubernetes-1.25.10.tar.gz 38218997 BLAKE2B 5f256ffe2236c4eefebbb66051b8bdb70c94fcdce4b606c2233e3f0e9d31f0516b5e4d8104b01fb486abcb8ed77294a5573d91c5feb7d3c456146b04dd5a7ef4 SHA512 5e3714596e24906bbfe4b6a79e323b2fdf06fb4b0bc52162a65009b836dcba32f021931cad6cf1d7f94d87937118bce09927be0be83cb1ea9f6fe790db584974 DIST kubernetes-1.26.5.tar.gz 38241396 BLAKE2B e42ffb2396b9811cf23f861327fdd93d067e43b222971b3fb115679692f8923c11494ac7c1bd8ed8a13cfe95b3964e33dc030405d2a3deb19e04c843f75eb7b0 SHA512 d35e663e469d29c77abfae443c8f835103e230805331a98ed6314518bd937c366e2734c687c31c4eadf7ecbd0a607dece463edb0057270a37114681d8aa77f0b DIST kubernetes-1.27.2.tar.gz 38061986 BLAKE2B bbb39453cb642abc693a8b646179eb5ccf6886c37cf380ae139c096409a33c38d5d081007a009a4785498f600b89f91a430b7bde191298b108ada336ef3414b1 SHA512 c7a4f6f3e3e6ce66295e9c09b5214ed3b9fa3b674b0b7e200672da5873fbc75533d1e6a5d9e04edba09c81db35e3309dbe6ff6a4a9dffc6687c66a6e5e566b1d diff --git a/sys-cluster/kubelet/kubelet-1.24.15.ebuild b/sys-cluster/kubelet/kubelet-1.24.15.ebuild new file mode 100644 index 000000000000..c855f8434257 --- /dev/null +++ b/sys-cluster/kubelet/kubelet-1.24.15.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 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 selinux" + +BDEPEND=">=dev-lang/go-1.18.1" +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 +} |