summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-03-08 15:30:53 -0600
committerWilliam Hubbs <williamh@gentoo.org>2023-03-08 15:31:31 -0600
commitb92c993dca8ab7e07aae850b6800df18bead7847 (patch)
tree1bc3a8f2f439ff0c0f847c147b587204ea448dc1 /sys-cluster
parentsys-cluster/kube-apiserver: add 1.24.11 (diff)
downloadgentoo-b92c993dca8ab7e07aae850b6800df18bead7847.tar.gz
gentoo-b92c993dca8ab7e07aae850b6800df18bead7847.tar.bz2
gentoo-b92c993dca8ab7e07aae850b6800df18bead7847.zip
sys-cluster/kube-controller-manager: add 1.24.11
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.24.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 9972abb3b688..eb2e368df6c3 100644
--- a/sys-cluster/kube-controller-manager/Manifest
+++ b/sys-cluster/kube-controller-manager/Manifest
@@ -1,5 +1,6 @@
DIST kubernetes-1.23.16.tar.gz 38115819 BLAKE2B 39a49a07d9d5c134b6d3edb0d48540ae00c134bd80a6236942f67faebf746e49d38bd23ff2d1935591a12043c4014fcd3a66739e6a3f38b72d125170f265254f SHA512 2eff0c8827fd01953e9d70a010f48ce35313969f238d330096b16ca9041983e992c45d97e4f0fb3b189c003b9f7805cf943727e32820fdb893fce1ffc4d8f092
DIST kubernetes-1.24.10.tar.gz 37847249 BLAKE2B 7f95f4ac29b5898033a8c19dc838eeae546befb762a19fa06fc6db29321cf7355f46958f994e374c395a9084bf5dc1580423ef7837e966277b7427a3b72428f3 SHA512 016b95537af6437d6285d07bfded048b093520fe7715dd8074bdde6a1646aa4e16a43b2dc6cae21e678795122b82dbeb1b7ac3f61997802e53bef518e3dcd2d7
+DIST kubernetes-1.24.11.tar.gz 37867002 BLAKE2B 3972a049b1549cb1ed147763f09d20b656243814a91d701a1171c171a19721aef2b8393121160edbd75e6f11978b355ce8e97ef6e9d007634428753d7cc1499e SHA512 ceaa5ca883d208e8f80d4d2628195256df697ce5ebedf2524af7cd94ffd783c055c47797cf76f6d4893e2392b652a89f55999251feda196b96b9df4c27215adc
DIST kubernetes-1.25.6.tar.gz 38158861 BLAKE2B af116c78d216477ab757523f66b3332ef982b49384145a69d1b5641b0929b7179171814f89bbba1950b0ab69476e9e48722e8b9b04f0e77610d7dc602d4bac65 SHA512 47e0f736ee7efc614a2e8ed08acd95b64ee78484ac735ca515a03607634a9a94e2d7f3989db300f130506390a93eebb32fba4e54fe2869e3c782932f9b9a033b
DIST kubernetes-1.25.7.tar.gz 38169376 BLAKE2B d324e823be2efc3d19892313ed2a7daa0a3c1384f4f03e18a703f63f32609e1a594a8fd3fc49cb78330848fd42ae1d629339a967ab973e73ddff2be8c6a1eb73 SHA512 d164496df03223cab4d1754ab42f88f0e5d5cc95e1e5995442183aa739d583078c6b7ea1febdc92e2bf8b76820857cd8973d8364f452c2e576b7168a32578419
DIST kubernetes-1.26.1.tar.gz 38162001 BLAKE2B e3589eb702da49786b3363c16a2a405721c2130fe9814c41af94c5d466e7946732c05da46ccecce915e3d80ea122c3a60d1c5b00a86cfed8b7238bd74daa041e SHA512 8794322c1e943ca47a059e6866bda9dee04acc8a202a984efe5c82403e394c4f5aa2c0218fb43582016c7276e17e837f64c39fc3af0c633461bf026aaacc97ae
diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.24.11.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.24.11.ebuild
new file mode 100644
index 000000000000..2d00c0ea6648
--- /dev/null
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.24.11.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 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.18.1"
+
+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}
+}