diff options
author | William Hubbs <williamh@gentoo.org> | 2022-03-17 23:47:07 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-03-17 23:50:23 -0500 |
commit | 179c203b1f4b61bdc2e6d8700fc45faaebf9f972 (patch) | |
tree | df8af8e52899bb28d87d137105f8c26fab8be6c7 /sys-cluster | |
parent | sys-cluster/kube-apiserver: add 1.21.11 (diff) | |
download | gentoo-179c203b1f4b61bdc2e6d8700fc45faaebf9f972.tar.gz gentoo-179c203b1f4b61bdc2e6d8700fc45faaebf9f972.tar.bz2 gentoo-179c203b1f4b61bdc2e6d8700fc45faaebf9f972.zip |
sys-cluster/kube-controller-manager: add 1.21.11
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/kube-controller-manager/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kube-controller-manager/kube-controller-manager-1.21.11.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-cluster/kube-controller-manager/Manifest b/sys-cluster/kube-controller-manager/Manifest index f2a60f010d90..ae3757c8a413 100644 --- a/sys-cluster/kube-controller-manager/Manifest +++ b/sys-cluster/kube-controller-manager/Manifest @@ -1,5 +1,6 @@ DIST kubernetes-1.20.15.tar.gz 34555426 BLAKE2B 45c7c767e7843c572423b562d8a1352b34e59c2b6d6c1e9879bd010e6e2999fbedb1f6ec738acc85ab6dacfc81ab438cee6eb8421e2a84733f71b2497d866094 SHA512 760c75c5eef9410ee1f0efc2944f45d259fa41175ce064f1c18224df0dfb1355fb2a7b9652e0af3c814987d3ae86a96f39aa2b686280eed745bdfe6f29dfb35c DIST kubernetes-1.21.10.tar.gz 36173594 BLAKE2B 0fb18498a706b9ef9e641ea3e1c2496b7d206a4e0d97fbedc5a2847672cf13b5905604f42f38bd39912cb30f094408fe78de1b791282e16069c51440955b4c06 SHA512 c3876e34a86b6421e92d20ded25e303e7034999bbb7382bfdec6aa9c2139203d5be1eac66b46d11fa5271104d988a6bd7536dc9a6fcd3923667927aac0b99712 +DIST kubernetes-1.21.11.tar.gz 36183641 BLAKE2B 81683c0f3d9d36aa21fb0bd8d771019af621947c772a9121b453c0c836e991f0812ef4bb0296db7fd0fab0794bbc9af9dbd4801b44d3f6422fa908da03b7de8b SHA512 9b8c92f277c2621015fab67832b8d89a9b2c0227a5ca884a58b959de717af9a3c601acaa6522d758673a628943b93ae23b8a95819b5daf4e0419509ec99408a6 DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e SHA512 d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8 DIST kubernetes-1.22.7.tar.gz 36046015 BLAKE2B 6c96f9fad5a395eb3540533dc9145597d520a9a1040a2ef9892589de4249d0cc4d946fdb668f0f7829fafdc8453ad2e6cdbe3ef341a1fe34a001873350b0c064 SHA512 83b6a574fa1593f2796da108e01f5938726f34afe5a792e864fe19abd5eee2565456fa8e0e8d4298d912fd8b3d7821a0694e91a626a5fae1dcc010e04cff0302 DIST kubernetes-1.22.8.tar.gz 36060758 BLAKE2B 8a9bb933aa7ecb07170065fb0b33805332cea5c4f8194d288c83ca907539dc207b878a03aa23ac62545ddbbc46d8896ce27dfd49791c01ef5d619e00c6564dbc SHA512 b55e1ca89349ab9d17a83b662ed9ea94f425bfad2fbbbff5918f48d831d5151036a44fc86c9eda1452a200abf5b39a9ebbba3560a8e90f49bbebb06597529a4a diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.21.11.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.21.11.ebuild new file mode 100644 index 000000000000..3611bae7ae46 --- /dev/null +++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.21.11.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module + +DESCRIPTION="Kubernetes Controller Manager" +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" + +COMMON_DEPEND="acct-group/kube-controller-manager + acct-user/kube-controller-manager" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND} + !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=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN} +} + +src_install() { + dobin _output/bin/${PN} + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + insinto /etc/logrotate.d + newins "${FILESDIR}"/${PN}.logrotated ${PN} + keepdir /var/log/${PN} + fowners ${PN}:${PN} /var/log/${PN} +} |