diff options
author | William Hubbs <williamh@gentoo.org> | 2022-07-19 09:19:16 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-07-19 10:02:04 -0500 |
commit | 3986fec247c677616686778e9b360afc71e35424 (patch) | |
tree | a669562d87420b06e0ad5382082136bfdca8ae0e | |
parent | sys-cluster/kubectl: add 1.22.12 (diff) | |
download | gentoo-3986fec247c677616686778e9b360afc71e35424.tar.gz gentoo-3986fec247c677616686778e9b360afc71e35424.tar.bz2 gentoo-3986fec247c677616686778e9b360afc71e35424.zip |
sys-cluster/kubelet: add 1.22.12
Signed-off-by: William Hubbs <williamh@gentoo.org>
-rw-r--r-- | sys-cluster/kubelet/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kubelet/kubelet-1.22.12.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest index 8df2c9dedfb9..26ad975e2be9 100644 --- a/sys-cluster/kubelet/Manifest +++ b/sys-cluster/kubelet/Manifest @@ -1,6 +1,7 @@ DIST kubernetes-1.21.11.tar.gz 36183641 BLAKE2B 81683c0f3d9d36aa21fb0bd8d771019af621947c772a9121b453c0c836e991f0812ef4bb0296db7fd0fab0794bbc9af9dbd4801b44d3f6422fa908da03b7de8b SHA512 9b8c92f277c2621015fab67832b8d89a9b2c0227a5ca884a58b959de717af9a3c601acaa6522d758673a628943b93ae23b8a95819b5daf4e0419509ec99408a6 DIST kubernetes-1.21.13.tar.gz 36157422 BLAKE2B 413ba3589efd724cd05ab9df76c9ba1f116539ec71c8cad8169095410704e1ab732171b2140b522a5f5cc641a18dd78150e67cd64bc16088f491379957756133 SHA512 cc6e9e71816c1fac4cba6cd6aab1919d7c956947b71260ac958015797a856e978bb2f122ad989527c285721e0a03c3327cbe50557cb6717e7a3aad68f2e02dfd DIST kubernetes-1.22.10.tar.gz 36075584 BLAKE2B e2d440070f8d573527359f4e59950af8c9b783da5e3f1914960b69e527411bf1aca98a1c23902e4e3d6b7c799233837676f02cc8469de130d8405800957b4cc1 SHA512 213629d3f71837318b3321b72cc08dcbf756be11ff927893154ec207cb6747a2a36c198cdbeb0f0bf9b1c0d0284f4bca8a43129f538ca1b763570fa4fe0e2ac8 +DIST kubernetes-1.22.12.tar.gz 36092785 BLAKE2B dc6427905469afee9d18b83f725a58a3f78d40f9fc1f4128e3105a0547df91d8b04500c507b21b43efba9358c012652b62c747d4f6ad3c4c442cca2a0093c897 SHA512 a024b652fd47e2e23890ae1509314456cb0abd96d3619054da18b8264e4f9da3a00278e1a4ab5b342aa7e80fbe637b4fb4d3053b8f999d4246bb1699ac145633 DIST kubernetes-1.22.8.tar.gz 36060758 BLAKE2B 8a9bb933aa7ecb07170065fb0b33805332cea5c4f8194d288c83ca907539dc207b878a03aa23ac62545ddbbc46d8896ce27dfd49791c01ef5d619e00c6564dbc SHA512 b55e1ca89349ab9d17a83b662ed9ea94f425bfad2fbbbff5918f48d831d5151036a44fc86c9eda1452a200abf5b39a9ebbba3560a8e90f49bbebb06597529a4a DIST kubernetes-1.23.5.tar.gz 38204715 BLAKE2B d42d9826704e923f4a25d788656909c641e77de19f483721436c6760d8d9b44c1805da5522c5a850fcbb0d86114057cf690607ff958536ef6af21e21a1d7b089 SHA512 4df849fcdf0d4ffd9552706600b43b9b248f9039ce05384fef859ce7479a9aa74b4a54a9a147b8be3db1c5c02274e71b31ae34700777fe010fb147cd132d80a2 DIST kubernetes-1.23.7.tar.gz 38210779 BLAKE2B 7b664b22491b19697ab596a2eacab5f4f907b7053f40e54bec48f807c273ec673f0e3f09107539d496ce2efbcfc0d649792d604aa6ea29ed938fc2b732b0cace SHA512 f871d8e4d9e41f829e8f6b5bc563ce7c2a060a3b23e9e8a76e3af49be4e2278422f2e8edff275730b690cc60127e334058f2b08d20c3befc6572431d08a8c0b4 diff --git a/sys-cluster/kubelet/kubelet-1.22.12.ebuild b/sys-cluster/kubelet/kubelet-1.22.12.ebuild new file mode 100644 index 000000000000..3dc412ebab17 --- /dev/null +++ b/sys-cluster/kubelet/kubelet-1.22.12.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 +} |