diff options
author | William Hubbs <williamh@gentoo.org> | 2023-08-25 14:42:12 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2023-08-25 14:58:55 -0500 |
commit | a33e526f54737597af4d11a33241908be8c036a9 (patch) | |
tree | 87c15a7e3b09f6f8a262d92477b2155c9b4d4d38 /sys-cluster/kube-controller-manager | |
parent | sys-cluster/kube-apiserver: add 1.28.1 (diff) | |
download | gentoo-a33e526f54737597af4d11a33241908be8c036a9.tar.gz gentoo-a33e526f54737597af4d11a33241908be8c036a9.tar.bz2 gentoo-a33e526f54737597af4d11a33241908be8c036a9.zip |
sys-cluster/kube-controller-manager: add 1.28.1
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster/kube-controller-manager')
-rw-r--r-- | sys-cluster/kube-controller-manager/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kube-controller-manager/kube-controller-manager-1.28.1.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/sys-cluster/kube-controller-manager/Manifest b/sys-cluster/kube-controller-manager/Manifest index fc6b7fa6a6f2..b8ecbe54b386 100644 --- a/sys-cluster/kube-controller-manager/Manifest +++ b/sys-cluster/kube-controller-manager/Manifest @@ -11,3 +11,4 @@ DIST kubernetes-1.27.3.tar.gz 38121196 BLAKE2B 69aab2d42fdbb5704d6bd248e6ced1546 DIST kubernetes-1.27.4.tar.gz 38192024 BLAKE2B b4f3afe7e96f74cbbb18866234e4ad591fa055bd158c8dad4b17c66b9ff5dfd9ea28bfd4ed5a89433fe58ecf4c86c821b1fb89bfaa5808310c8b72b875ce3fa2 SHA512 0558a8760e538aeb29efff54282a2fab613f5e6c16abf8964ab836065a4f40a568dae3caa5c06e172e2643491a63b1056c093421fded8cb9b7a0c0ed10b9f6ec DIST kubernetes-1.27.5.tar.gz 38204018 BLAKE2B 4b44430f7854fca70f650c31388b9d378218d6d4ed116659522542a0e199a19c65e152a4b7235ad5f5fe86753c3ee834ea162da9ff889e384bee780a61a39c42 SHA512 9237d03c3cc2374b1e3631f63ac850fc2461628785863c909972c85b74d9fd3c75dc286e0953059c1999457d2a43b474b1ec7b8c633e158aeb88f89e02e874f8 DIST kubernetes-1.28.0.tar.gz 42229948 BLAKE2B c514577fa3cdeee6fa1d6f488de74b56845e3cfaf7f810ecd4ec9c023f034e0c50b647ebf5b60eb26b9387b79d060a6aeee9eee43fab904094ec767603fc5c6d SHA512 dcb5f2ec3fec841a3a1678ac88473b355f13cad1543b5098a2f1fe1d217e34fb46727c1345bbd35945eb4164aa4fe069ebdefc2328c8797671caa9a5be0f8fd6 +DIST kubernetes-1.28.1.tar.gz 39881720 BLAKE2B 9f56e1a9d2c45948c3c4baca99b16e8b73cb2e375088b9d3badd1664ebd178a052855c235637ac2f596cbb02ec440958710f39bd5dbd34e37f74c4260dd8cf65 SHA512 cc28483e09f7a3861bf1b8f7867e3295f8879a2c0a2a851ce14f41158c8ea3cb080ae697dc897d8a55efd3a7f0dcbfcca2d39dff6fd9ca0dd1b5762c1010fb09 diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.28.1.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.28.1.ebuild new file mode 100644 index 000000000000..dc4ca2df138b --- /dev/null +++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.28.1.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.20" + +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} +} |