summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-01-04 10:35:18 -0600
committerWilliam Hubbs <williamh@gentoo.org>2023-01-04 10:35:18 -0600
commitd95629d1bb4b520bb6ed828c239dbc99a40f5c7f (patch)
tree233aef960a763118373a8c88271f2242016b6b4b /sys-cluster/kube-controller-manager
parentsys-cluster/kube-apiserver: add 1.26.0 (diff)
downloadgentoo-d95629d1bb4b520bb6ed828c239dbc99a40f5c7f.tar.gz
gentoo-d95629d1bb4b520bb6ed828c239dbc99a40f5c7f.tar.bz2
gentoo-d95629d1bb4b520bb6ed828c239dbc99a40f5c7f.zip
sys-cluster/kube-controller-manager: add 1.26.0
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster/kube-controller-manager')
-rw-r--r--sys-cluster/kube-controller-manager/Manifest1
-rw-r--r--sys-cluster/kube-controller-manager/kube-controller-manager-1.26.0.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 69f917d312eb..ec4d43d06991 100644
--- a/sys-cluster/kube-controller-manager/Manifest
+++ b/sys-cluster/kube-controller-manager/Manifest
@@ -4,3 +4,4 @@ DIST kubernetes-1.24.8.tar.gz 38001022 BLAKE2B 8452e3b93f91c5b2c542a9fcd0843e36a
DIST kubernetes-1.24.9.tar.gz 37831367 BLAKE2B 695c5680dbcf40723be7075c71bef598d154aa7633b8309ebd6387e7c2d26ed82a37606427d5e7318eba8fa564a9c7832e459a2be27831d6d61bfb2c46fb273c SHA512 ad81acacb79ef55422280479307ae6134370ee0af7f8a2392cad87dbfcdecf57a96a0c4da732336b023ac7ed19aadf307b652d4c30fb29ae2f8c984183049c44
DIST kubernetes-1.25.4.tar.gz 38068572 BLAKE2B 66dfe5a55ded66fc00792accaed542e45bea65c659a676920fca13d70077db8f05149bf5922eef2c2811eea84932c6b9e4997969b90b97597146ec443420da3a SHA512 1cbd7b708a70dd51fe399924ea3d995c809e426a2946eaf50eda041ece7a4740513c54ac871270d2f4d7497f59b551a78e5cb6ecb991d4ba038972c7b7383cac
DIST kubernetes-1.25.5.tar.gz 38145275 BLAKE2B fe152017f00e6c9760a122447ee6ac8053e3d6804a2d30a1ced3fa476e6ced110c3dd30f9040ebf320832fd696f268df2bf9463f349d4924c3d465322c8c2ed4 SHA512 6786dc02f7d14c3a974511542068649c6ffdba20c6d56fcb7df497c387f37841badf851ea01a3e6c9ca02732ea5e0201947a0221a9552c0c9340ff6410703b5a
+DIST kubernetes-1.26.0.tar.gz 40269668 BLAKE2B ebfa202d834d2560b3d1c3cced997796e1c1617b9975e47db0dcc8350541cf38781aa4e82c3fcb87476e84949058f9e603dd4040927773f04b35156b5df856ac SHA512 2737007c1525fc618b9843a15405024c1b4735be05bff7190f041e5ae43b2439d195430ef93f5b2ffb26d6d5394bdfc0bf2d03e0f104ddfe96d682b952cb001c
diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.26.0.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.26.0.ebuild
new file mode 100644
index 000000000000..c4863b6e8840
--- /dev/null
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.26.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+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.19"
+
+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}
+}