summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2022-10-22 13:06:10 -0500
committerWilliam Hubbs <williamh@gentoo.org>2022-10-22 13:06:10 -0500
commit3d53077337a33b44bc747a54ed2d619c6ebf15e9 (patch)
treeb891abcafae6fcb49ba1b49617b18b556eac6171 /sys-cluster
parentsys-cluster/kubectl: add 1.22.15 (diff)
downloadgentoo-3d53077337a33b44bc747a54ed2d619c6ebf15e9.tar.gz
gentoo-3d53077337a33b44bc747a54ed2d619c6ebf15e9.tar.bz2
gentoo-3d53077337a33b44bc747a54ed2d619c6ebf15e9.zip
sys-cluster/kubelet: add 1.22.15
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/kubelet/Manifest1
-rw-r--r--sys-cluster/kubelet/kubelet-1.22.15.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest
index 828e0d8f2c97..d682ad80c4ab 100644
--- a/sys-cluster/kubelet/Manifest
+++ b/sys-cluster/kubelet/Manifest
@@ -1,4 +1,5 @@
DIST kubernetes-1.22.14.tar.gz 36106528 BLAKE2B 62c07e6d775827ad167db3abfc877cb04a19dd4fef655be69aa815975310b7c7df3c46cafe098b92bc5b01cff3af6ac9e55e05c3a831827185121e6303f40287 SHA512 96c5db11c07224a1cd2a86da21e38e95198a2584eb0657bea920a41ed16c369462e5aff130069230415c49787e99d4582a32dcbf4c79fb79cfc3ce7be37f0d52
+DIST kubernetes-1.22.15.tar.gz 36102055 BLAKE2B 8e820dca5c3aca73ab762e98d7cb02bce1b25693880b0cfdcb3669aa09d483cf7cf206b9529e8ddd7698c2041dc69005b9ee7a42779ce078296b017ed5d49d69 SHA512 e341377473ec2eacb6c44d6a04d1e3f0b92642eef4389ad123923b24e271417bb71cc166cac11b7fd74fed615c34227857e5ce09f5783fc627f28302e3945857
DIST kubernetes-1.23.11.tar.gz 38238863 BLAKE2B 6c0a4cd85151f32f1755758fe82b1f734216632d677ddcb396126e71002151750bd84993120852c5de68e67915675fdb7b4168426a7d42f7ab774cdab96b5dd9 SHA512 160da70eca160875f348e54852bcbf248a5308c4f547b4d0c19d714618b329ee998cb7dda5aac396ece9f4d11d21c74b0cd781de96572193481a3183bd393de2
DIST kubernetes-1.23.13.tar.gz 38244983 BLAKE2B c369a4d0d3c77e2f7fb9f20e356e331bdd545a871a4d780762a428bdd6213d88a161b67e83b95ecf0f22888f8850537dd840fe34b4d9ca2843513bdaf91a8aa4 SHA512 213f887c4eac39123771985016d6a4e70111b4b67355b9787cf54b0e308296c7fb199aa4bb06522047140d66279e00834ab89362a1a8a90c4490d085710a3a08
DIST kubernetes-1.24.5.tar.gz 37984125 BLAKE2B 2b474f002336a505a0f366173a33cfe6d316a262c527b53aa449180eacfa52a5e71d8067f769388f22a6434a705768cedd87386b253b2fd1a5c7436cc63fbb36 SHA512 d0edb8abf6a155dfc7e0a9aa93dcf5817dd624ceaba9b090cef1f5df6486d2187022fc35b6903fa8ac88762d2ad9742a783bb42fb7d3d87b21d8f94af375e2d3
diff --git a/sys-cluster/kubelet/kubelet-1.22.15.ebuild b/sys-cluster/kubelet/kubelet-1.22.15.ebuild
new file mode 100644
index 000000000000..3dc412ebab17
--- /dev/null
+++ b/sys-cluster/kubelet/kubelet-1.22.15.ebuild
@@ -0,0 +1,37 @@
+# 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"
+
+RDEPEND="!sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.16"
+
+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
+}