summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2022-09-18 14:40:28 -0500
committerWilliam Hubbs <williamh@gentoo.org>2022-09-18 14:40:28 -0500
commitd536c5ea338222702e7a2af90cb8e56841b14c11 (patch)
treeeff0e266fab70ece8c048946e4956bdf2e59782b
parentsys-cluster/kube-apiserver: add 1.23.11 (diff)
downloadgentoo-d536c5ea338222702e7a2af90cb8e56841b14c11.tar.gz
gentoo-d536c5ea338222702e7a2af90cb8e56841b14c11.tar.bz2
gentoo-d536c5ea338222702e7a2af90cb8e56841b14c11.zip
sys-cluster/kube-controller-manager: add 1.23.11
Signed-off-by: William Hubbs <williamh@gentoo.org>
-rw-r--r--sys-cluster/kube-controller-manager/Manifest1
-rw-r--r--sys-cluster/kube-controller-manager/kube-controller-manager-1.23.11.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/sys-cluster/kube-controller-manager/Manifest b/sys-cluster/kube-controller-manager/Manifest
index 7a0ecf13257e..f08f02195cfa 100644
--- a/sys-cluster/kube-controller-manager/Manifest
+++ b/sys-cluster/kube-controller-manager/Manifest
@@ -1,5 +1,6 @@
DIST kubernetes-1.22.13.tar.gz 36093191 BLAKE2B ca73ff8e3ce8f22041a38c7e0c52eaec171bae117dd4afde9e9ba952edb5b641d8b0dd472be6ac4aba8859595557e222b188c763bc7cdafd25ab35e4a0ccaa57 SHA512 29bda4adf6970ab2f18fb71a8b932360c27a6b6cb1d0d797ce99a0e8d8469548ac6f54e666a8c8717e5ac44344a9cd34c8dba1c1eeee2074cff88637f60fdf69
DIST kubernetes-1.22.14.tar.gz 36106528 BLAKE2B 62c07e6d775827ad167db3abfc877cb04a19dd4fef655be69aa815975310b7c7df3c46cafe098b92bc5b01cff3af6ac9e55e05c3a831827185121e6303f40287 SHA512 96c5db11c07224a1cd2a86da21e38e95198a2584eb0657bea920a41ed16c369462e5aff130069230415c49787e99d4582a32dcbf4c79fb79cfc3ce7be37f0d52
DIST kubernetes-1.23.10.tar.gz 38229682 BLAKE2B 706ea466b4148475321e20b47d2d7f45c5f8fbb50065374604000a72b35eb7732272dea64b521a8b4fb91cd0f05cf28391ca205693dd76bb6a79081a83d65894 SHA512 9535a3adfd1769ded3c427ba5536bd497d0d30f3df81c41c554a562b67d0c356326730b18f641687be9e482be9b6e76320f4ce31f3c81b7d3a5a0fa7c13fe872
+DIST kubernetes-1.23.11.tar.gz 38238863 BLAKE2B 6c0a4cd85151f32f1755758fe82b1f734216632d677ddcb396126e71002151750bd84993120852c5de68e67915675fdb7b4168426a7d42f7ab774cdab96b5dd9 SHA512 160da70eca160875f348e54852bcbf248a5308c4f547b4d0c19d714618b329ee998cb7dda5aac396ece9f4d11d21c74b0cd781de96572193481a3183bd393de2
DIST kubernetes-1.24.4.tar.gz 37973948 BLAKE2B ee608211efd23507f3e98e00694bb7d90fcfcdf8c66847c0e437860f55ef4d9c8d20463e9d603b1c740d1ec5a6008dcd76bc129635d2765a16c4a69f75644ae8 SHA512 2478e4a114a0efaab530e9f61a61a3b94c9d586ab776519110578a0e127796b737149c5ff0896280f84dd08c972333623fb6aeac5e9bf7f7ebf86f1ee1ba5a05
DIST kubernetes-1.25.0.tar.gz 40040646 BLAKE2B 089d71c9c848d5bdb0fb6c2142a569d2e38e7b89761ff58ecd9aa2a560e71fc310d221b327ce8b1c2790e1eddf3af9e12de37aa784e1c9b0207fd549e6539eeb SHA512 19ab9038d465d409b429ce77c2d90ba62b932c2be08a7192b265c061b7a7da2c46bb887f63b66d1f48f05c9052fdf3cddf5842a55ffc65b0eb3c8cd8b17905bc
diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.23.11.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.23.11.ebuild
new file mode 100644
index 000000000000..8a6411803c93
--- /dev/null
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.23.11.ebuild
@@ -0,0 +1,38 @@
+# 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}"
+BDEPEND=">=dev-lang/go-1.17"
+
+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}
+}