summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2024-01-22 17:04:02 -0600
committerWilliam Hubbs <williamh@gentoo.org>2024-01-22 17:20:09 -0600
commite8784ce3c2e213e45333f3eebc19243def7aa7d0 (patch)
treeadb1b288a51edfb9dba374880eebf6c61d5387ab /sys-cluster/kubelet
parentsys-cluster/kubectl: add 1.26.13 (diff)
downloadgentoo-e8784ce3c2e213e45333f3eebc19243def7aa7d0.tar.gz
gentoo-e8784ce3c2e213e45333f3eebc19243def7aa7d0.tar.bz2
gentoo-e8784ce3c2e213e45333f3eebc19243def7aa7d0.zip
sys-cluster/kubelet: add 1.26.13
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster/kubelet')
-rw-r--r--sys-cluster/kubelet/Manifest1
-rw-r--r--sys-cluster/kubelet/kubelet-1.26.13.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest
index 791248159818..f6941fb93acd 100644
--- a/sys-cluster/kubelet/Manifest
+++ b/sys-cluster/kubelet/Manifest
@@ -1,4 +1,5 @@
DIST kubernetes-1.26.12.tar.gz 39450451 BLAKE2B 0a045e90408ee01044550e2f2703339c467d700ee03bb06b6d237af599af0dadbbcd24ef56ff73dc53d74152c96ff7601f11a314b8c8b0994ead33611fbeff19 SHA512 e0815e38b46c4885373b9a54141d1b84a8189f79d44d3d20b90847f0e69c026b2b9c4b85899dd4e00e7c72f18fbaf48559b5c9573a4504132dcfe03842b7c3e6
+DIST kubernetes-1.26.13.tar.gz 39454349 BLAKE2B cf45650e62a79fddee9ffd08cb80cb908e4ea9dedb3cbe9384a9560c162e069ca8c2f9daddc9159adbd6791b11f5b24c6fbbc5e1c56369e38771a031a6e66eea SHA512 c3b153323e24ffaf05f27e6c3b05897052c94321a18830fbea061f722d5d0635e7d7042838d82654a48d45b7260bf7fd0e039081481be9c175f04bb7d3a94881
DIST kubernetes-1.26.9.tar.gz 38520517 BLAKE2B 4e49686fd083b1aefb314a1f6acbff91437a5f8e6801c20bcf493a29eb99c419c13cd1246efbe4e6baab0da22a19df189a6cda7047eaa14edf7fa895eeca5535 SHA512 9ad42f2ddbd8662b9175d58f06024571e3bc07f3d905f66a9cc5635e41492ed9a9cdb0debe3864990516dacc41afb58265dc918d46a078e77f0889b9ed121427
DIST kubernetes-1.27.10.tar.gz 39183865 BLAKE2B 948197dbca1fd7d12d7d1947faa82b983189b9dc8f8af26f9b0ccf26629b7daa609b85c492dc977adc9a6e095f30bb38cafea9e1feb06aabba1847a364277af0 SHA512 cb0e2c9186d2d504c28a02b4a3e222b766fdc942226853b4669a505313abc2fef76ebdc36677ca8bf55bfbe5aaeafdc2e6fa053dbd85779eb824395bffa08060
DIST kubernetes-1.27.6.tar.gz 38249520 BLAKE2B 942a66075e0ec9aec579908f7a3724be2bc5fb0d8f40d8fd3d025221199e97c44e96a13099bff7a408af9847ef0f5568033146cbb1566a608a572418410cfbdf SHA512 147c0eb819a1ea8c2d49467bceacdefe7693082609bce924bbafe9dd7afc27a576bf6b5d350b63da5fb7bf6cdf20983ac681e48539edda777303f81e4e2a72db
diff --git a/sys-cluster/kubelet/kubelet-1.26.13.ebuild b/sys-cluster/kubelet/kubelet-1.26.13.ebuild
new file mode 100644
index 000000000000..17a860f56790
--- /dev/null
+++ b/sys-cluster/kubelet/kubelet-1.26.13.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
+}