diff options
author | William Hubbs <williamh@gentoo.org> | 2021-08-31 15:16:27 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2021-08-31 15:32:27 -0500 |
commit | ab8cadf193fad931430c00e969f925f6af713b7f (patch) | |
tree | 9c60ecf675f570e8ad5671ba59cd0741567bdca5 /sys-cluster/kubelet | |
parent | sys-cluster/kubectl: 1.21.4 bump (diff) | |
download | gentoo-ab8cadf193fad931430c00e969f925f6af713b7f.tar.gz gentoo-ab8cadf193fad931430c00e969f925f6af713b7f.tar.bz2 gentoo-ab8cadf193fad931430c00e969f925f6af713b7f.zip |
sys-cluster/kubelet: 1.21.4 bump
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.21.4.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest index 2e8ad0d94812..7387fd4af8e1 100644 --- a/sys-cluster/kubelet/Manifest +++ b/sys-cluster/kubelet/Manifest @@ -9,4 +9,5 @@ DIST kubernetes-1.20.9.tar.gz 34501156 BLAKE2B 48bc055d4e9516116ba445c6e1dc46850 DIST kubernetes-1.21.1.tar.gz 35982846 BLAKE2B 3852fbaa07b622561f88cd1821b87fe08e04a34cbf4538f63c2ed325789c9263eddc8844a35eae3394795abd25096bdfa00df7584d5fc7006886bc3099924de2 SHA512 d3257566a07e1c08bfcbce85775af8c2d7dfbc7df4aa8692e6a0a6f8590f7eeb9fc6802b715ee8b0f67b2f41344e926a0a955afa68e2b8d518a7d8160771dfcc DIST kubernetes-1.21.2.tar.gz 36081553 BLAKE2B 60566f2f33aebcd2f48e9d245883aa74d17ce21bdec05b529265a55e266497d6c7278fb7fdb5a94747e10641b5843b2a4b8079b981818ce3f3078c046ed72762 SHA512 20f81c975d6a5a4e6cbbfcaa2f34e8dd4f96018a8a60004a9fedf13eb9d8d43a14f0b746fb48a1240e378d2a1b8de440104c72269d68239040fa6a690c5115ff DIST kubernetes-1.21.3.tar.gz 36090238 BLAKE2B 90875f42be8bc123d6cdf120ce33ff2aa5e1da33bc2c9b147c1b6d7ccffeaec9e87cb4552e88c301f741fd8f0923792baa9c65a03035fc26f0431a172068dbac SHA512 d780099814468079eaa9b9b33fb0f48e2c44ebbf304068f44c79281e7dc074cfe8a2f56330f8363282ce6ed07a12125fa4ec6a8a5308d208456231f827c861a0 +DIST kubernetes-1.21.4.tar.gz 36099646 BLAKE2B b41b3581c3e0bc85a5e259df31c225c3deab3e67545f8a8439c3e77eeca1c5d0a5c76948565ebc46ac42790299581943042fa2bda71e6cf2616776a2f9453e08 SHA512 79aa3b13242bfdcee6cda1e542a7f4ca940caab35ff81f617295cb45d6a6ce3c1274d794c1de43a74c684dc371a01a062709da8cec4fe462b520bf804ae59c8e DIST kubernetes-1.22.1.tar.gz 35986911 BLAKE2B f474963aafe63afec87ae113543aad1be000eb32df725254d28d44d1f4fa1bc7c0fac88d77ac58b9bf1dd67129e2c2d010e97368f5ba392bf3924dd8bfa3ebed SHA512 97d5644cd06c2a092338bddc6b5e5b4c538ae8055b5d7c9ea011a8454b191714864ab624657e88aa1d6e8939d1526a69d763b0126249bfbb5e96f62ecf4290a3 diff --git a/sys-cluster/kubelet/kubelet-1.21.4.ebuild b/sys-cluster/kubelet/kubelet-1.21.4.ebuild new file mode 100644 index 000000000000..25f142b537a3 --- /dev/null +++ b/sys-cluster/kubelet/kubelet-1.21.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 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 +} |