diff options
author | William Hubbs <williamh@gentoo.org> | 2024-01-02 11:13:26 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2024-01-02 11:13:26 -0600 |
commit | c43d2bbbb67f58e2dd16a01987fd643e6b78126c (patch) | |
tree | 62df08ab61cd7bf90ea5246ab2e789cef55e23b5 /sys-cluster | |
parent | sys-cluster/kubectl: add 1.26.12 (diff) | |
download | gentoo-c43d2bbbb67f58e2dd16a01987fd643e6b78126c.tar.gz gentoo-c43d2bbbb67f58e2dd16a01987fd643e6b78126c.tar.bz2 gentoo-c43d2bbbb67f58e2dd16a01987fd643e6b78126c.zip |
sys-cluster/kubelet: add 1.26.12
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.26.12.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest index 33efb8009a83..6302ab585063 100644 --- a/sys-cluster/kubelet/Manifest +++ b/sys-cluster/kubelet/Manifest @@ -1,6 +1,7 @@ DIST kubernetes-1.24.17.tar.gz 38157141 BLAKE2B 2a4c68946a446ff9f0adce53960a4282f85c4235efbd2e3f749892e7d3b3cba4e4b0ea3db770dd07772c862966da8f0b339338fa54dbb1860df424f66c24b7b0 SHA512 d5a1356d5937afcede59a54835456db7883f193ba46711a8c6a87636a7f79995458245cbe5b3b89a6c5f668febaf17ba82a21f80e49e68c86e8b87ffe4138b54 DIST kubernetes-1.25.14.tar.gz 38489922 BLAKE2B f5bcd1cdee5427e1f5732bbed834a5255e5ee7cbcd0c3d7f6b36993a1c85efefe2acf9a5c8262853a5b95cdcb57ffe23a3bae8cc65a80ee19383720b4479b60a SHA512 d62ce89540c431132056d379af7ed8581afa9830801cb5d9e7741a20fd1285922d3cf671ab9dcb239420c4a19d6edeee1f24f29521681cc184cf4a71a25e53d2 DIST kubernetes-1.26.10.tar.gz 38741138 BLAKE2B 183712ef84c0fbf8009f8fb81472d75dc562d627bddc37a20131a9db34220ab1ba437a30547326628e9744c03a9329b48b579170ba766d3150597fe696d230f7 SHA512 cd6e840989d10a1bed7766939a7c561e08de1a4fc2d44f16650091d464d47518cc1383c61cde5c5f8c9394b943c4c3c71b502d663b5f2dbfc9c3b77f917979df +DIST kubernetes-1.26.12.tar.gz 39450451 BLAKE2B 0a045e90408ee01044550e2f2703339c467d700ee03bb06b6d237af599af0dadbbcd24ef56ff73dc53d74152c96ff7601f11a314b8c8b0994ead33611fbeff19 SHA512 e0815e38b46c4885373b9a54141d1b84a8189f79d44d3d20b90847f0e69c026b2b9c4b85899dd4e00e7c72f18fbaf48559b5c9573a4504132dcfe03842b7c3e6 DIST kubernetes-1.26.9.tar.gz 38520517 BLAKE2B 4e49686fd083b1aefb314a1f6acbff91437a5f8e6801c20bcf493a29eb99c419c13cd1246efbe4e6baab0da22a19df189a6cda7047eaa14edf7fa895eeca5535 SHA512 9ad42f2ddbd8662b9175d58f06024571e3bc07f3d905f66a9cc5635e41492ed9a9cdb0debe3864990516dacc41afb58265dc918d46a078e77f0889b9ed121427 DIST kubernetes-1.27.6.tar.gz 38249520 BLAKE2B 942a66075e0ec9aec579908f7a3724be2bc5fb0d8f40d8fd3d025221199e97c44e96a13099bff7a408af9847ef0f5568033146cbb1566a608a572418410cfbdf SHA512 147c0eb819a1ea8c2d49467bceacdefe7693082609bce924bbafe9dd7afc27a576bf6b5d350b63da5fb7bf6cdf20983ac681e48539edda777303f81e4e2a72db DIST kubernetes-1.27.7.tar.gz 38489371 BLAKE2B cc2e3a5310241adf24d7140ec1f27bd35ba5050d5928996899f0e16cad018f216eb121bb6e84fce02ce3d9a58c4b0fcdec0923f10b45465486f1cd3d6beb8ab7 SHA512 d5045332df6b64b91c25f035bca6aee59266128e6e59a5dc36bfc4d68e53dcdf78bbe75b97194da59931a6ad23e77b7f2d446bdf131c3a0bb74f954344179c04 diff --git a/sys-cluster/kubelet/kubelet-1.26.12.ebuild b/sys-cluster/kubelet/kubelet-1.26.12.ebuild new file mode 100644 index 000000000000..17a860f56790 --- /dev/null +++ b/sys-cluster/kubelet/kubelet-1.26.12.ebuild @@ -0,0 +1,37 @@ +# 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.19" +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 +} |