diff options
author | William Hubbs <williamh@gentoo.org> | 2024-02-26 10:27:17 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2024-02-26 11:02:43 -0600 |
commit | 49ef9d06f566f1e811a005ebd28d459ed69fe50c (patch) | |
tree | a212cafe4b8609979afbf23a5172df04471caa94 /sys-cluster/kubelet | |
parent | sys-cluster/kubectl: add 1.29.2 (diff) | |
download | gentoo-49ef9d06f566f1e811a005ebd28d459ed69fe50c.tar.gz gentoo-49ef9d06f566f1e811a005ebd28d459ed69fe50c.tar.bz2 gentoo-49ef9d06f566f1e811a005ebd28d459ed69fe50c.zip |
sys-cluster/kubelet: add 1.29.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.29.2.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest index d6102c57c764..2db37a7d2efc 100644 --- a/sys-cluster/kubelet/Manifest +++ b/sys-cluster/kubelet/Manifest @@ -2,3 +2,4 @@ DIST kubernetes-1.26.13.tar.gz 39454349 BLAKE2B cf45650e62a79fddee9ffd08cb80cb90 DIST kubernetes-1.27.10.tar.gz 39183865 BLAKE2B 948197dbca1fd7d12d7d1947faa82b983189b9dc8f8af26f9b0ccf26629b7daa609b85c492dc977adc9a6e095f30bb38cafea9e1feb06aabba1847a364277af0 SHA512 cb0e2c9186d2d504c28a02b4a3e222b766fdc942226853b4669a505313abc2fef76ebdc36677ca8bf55bfbe5aaeafdc2e6fa053dbd85779eb824395bffa08060 DIST kubernetes-1.28.6.tar.gz 39955920 BLAKE2B d492139efad8328ee1024445e568e4b446af3ba7f9c39b748eb005198b6ad448eca71cd5ad698ba5dd1fcaef727b6b3884e7bfbad0cc8ae7b7cdfc858f8a712c SHA512 bdb20da05001c67418e9e9c6d2640b974a1690bbdad7d0ede6ab1577d9bca0e998802737ceccc023fd34fd2f0e63cc7b1b9c2a90ee7d24429f8109b9393d7551 DIST kubernetes-1.29.1.tar.gz 41130463 BLAKE2B d75807ec1b0ee92f7f91f985b10c37ebd352286d12a25b08fa2ad71e54f45e51aba49967a268b996932f421fd4163bd8815b4abef1aeb3776576ca76f2dc1779 SHA512 aee9da0fb1da355cbcdc9db584d99969c13cf8c4fce669f209b6e309cf059556f2820e66a90e8ea09dd56d7c289c6a9cb2bf817e2d260220c77d0a9cd2a4850a +DIST kubernetes-1.29.2.tar.gz 41132583 BLAKE2B ebccc20026bbe9f6829c12b458cd80b76d4b104d8610d0998f1602e42983ce73fb118be2bde092fc58291224f1e49f308243e821184a94365d3a6103f5a24c09 SHA512 8358890bd1769492c686abf938981eedc3b98d742dfc85ccd8799531ff78418cf26a611c84d1bbc610e942ade7c4fffdd146113e642f948d0f0b917558a4f47a diff --git a/sys-cluster/kubelet/kubelet-1.29.2.ebuild b/sys-cluster/kubelet/kubelet-1.29.2.ebuild new file mode 100644 index 000000000000..ffb3e1b08e09 --- /dev/null +++ b/sys-cluster/kubelet/kubelet-1.29.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2024 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="" FORCE_HOST_GO=yes \ + 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 +} |