summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2022-03-17 22:49:02 -0500
committerWilliam Hubbs <williamh@gentoo.org>2022-03-17 23:23:28 -0500
commit9a9f4934457163f50f2348aabefa886f40bc4d60 (patch)
tree493730d4c3b1b113cb1b04f494971da53b3bdc19 /sys-cluster
parentsys-cluster/kube-apiserver: add 1.22.8 (diff)
downloadgentoo-9a9f4934457163f50f2348aabefa886f40bc4d60.tar.gz
gentoo-9a9f4934457163f50f2348aabefa886f40bc4d60.tar.bz2
gentoo-9a9f4934457163f50f2348aabefa886f40bc4d60.zip
sys-cluster/kube-controller-manager: add 1.22.8
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/kube-controller-manager/Manifest1
-rw-r--r--sys-cluster/kube-controller-manager/kube-controller-manager-1.22.8.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-cluster/kube-controller-manager/Manifest b/sys-cluster/kube-controller-manager/Manifest
index cf04278baf93..9c246df31426 100644
--- a/sys-cluster/kube-controller-manager/Manifest
+++ b/sys-cluster/kube-controller-manager/Manifest
@@ -3,5 +3,6 @@ DIST kubernetes-1.21.10.tar.gz 36173594 BLAKE2B 0fb18498a706b9ef9e641ea3e1c2496b
DIST kubernetes-1.21.9.tar.gz 36168171 BLAKE2B 65ce3cc73fa57bd24e22de629e8036f83527ed7c6407c785ceb63415caf92381691e201f3b32f3786d9f92a623b5c209b5d3c0a7e72f1874f1c124f853354c7e SHA512 d334cab0fa3c173c12eb73c2f6f34a8745447525c6524ebd556cd18587345012e518a2ddb77484f48e01f4bbd795177b0c8b067bdf66715f60a70b0566ac66e8
DIST kubernetes-1.22.6.tar.gz 36044335 BLAKE2B 2d89424d6b74e99e6c161e4c1fd970aca6419dbcd8dfb3704ce3c5afad7002338357cf5b5b580ec458f55bcb3b6b1c48aabea67876b9bfed8f733cc710dafa58 SHA512 bf79a203b6faae8d267e971e76e80b0d83234d2bf46f83506860fc94f00e4fe8c708d70fce70113f7390528752c2c29fb2da59c9e7dd29986d52a77493202174
DIST kubernetes-1.22.7.tar.gz 36046015 BLAKE2B 6c96f9fad5a395eb3540533dc9145597d520a9a1040a2ef9892589de4249d0cc4d946fdb668f0f7829fafdc8453ad2e6cdbe3ef341a1fe34a001873350b0c064 SHA512 83b6a574fa1593f2796da108e01f5938726f34afe5a792e864fe19abd5eee2565456fa8e0e8d4298d912fd8b3d7821a0694e91a626a5fae1dcc010e04cff0302
+DIST kubernetes-1.22.8.tar.gz 36060758 BLAKE2B 8a9bb933aa7ecb07170065fb0b33805332cea5c4f8194d288c83ca907539dc207b878a03aa23ac62545ddbbc46d8896ce27dfd49791c01ef5d619e00c6564dbc SHA512 b55e1ca89349ab9d17a83b662ed9ea94f425bfad2fbbbff5918f48d831d5151036a44fc86c9eda1452a200abf5b39a9ebbba3560a8e90f49bbebb06597529a4a
DIST kubernetes-1.23.4.tar.gz 38190117 BLAKE2B f68cdc9a428f80606d004cda4ded8eafa1a99974207bec3888efcf077970b1fb5768cfd4a0b572de06891a0754ad6253bf3ec4c9bc12488888b82af193775089 SHA512 1dfb165676c6220671248837a46bc714efa438253291a38726062a755a4e9e4993d5787c0253ca0930b3886c849c89dca2f39dad8cbaaa9c53453b30042c9d98
DIST kubernetes-1.23.5.tar.gz 38204715 BLAKE2B d42d9826704e923f4a25d788656909c641e77de19f483721436c6760d8d9b44c1805da5522c5a850fcbb0d86114057cf690607ff958536ef6af21e21a1d7b089 SHA512 4df849fcdf0d4ffd9552706600b43b9b248f9039ce05384fef859ce7479a9aa74b4a54a9a147b8be3db1c5c02274e71b31ae34700777fe010fb147cd132d80a2
diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.22.8.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.22.8.ebuild
new file mode 100644
index 000000000000..3611bae7ae46
--- /dev/null
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.22.8.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}
+}