diff options
author | William Hubbs <williamh@gentoo.org> | 2022-10-15 15:06:14 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-10-15 15:06:14 -0500 |
commit | b70cba63acd8afa08a13744b99cd40f203fa31a7 (patch) | |
tree | 9112059449dc08eba9013162230a97280bfc8d7d /sys-cluster | |
parent | sys-cluster/kube-apiserver: add 1.25.3 (diff) | |
download | gentoo-b70cba63acd8afa08a13744b99cd40f203fa31a7.tar.gz gentoo-b70cba63acd8afa08a13744b99cd40f203fa31a7.tar.bz2 gentoo-b70cba63acd8afa08a13744b99cd40f203fa31a7.zip |
sys-cluster/kube-controller-manager: add 1.25.3
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/kube-controller-manager/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kube-controller-manager/kube-controller-manager-1.25.3.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 b303f8e99015..83bbfe335ab8 100644 --- a/sys-cluster/kube-controller-manager/Manifest +++ b/sys-cluster/kube-controller-manager/Manifest @@ -3,3 +3,4 @@ DIST kubernetes-1.23.11.tar.gz 38238863 BLAKE2B 6c0a4cd85151f32f1755758fe82b1f73 DIST kubernetes-1.24.5.tar.gz 37984125 BLAKE2B 2b474f002336a505a0f366173a33cfe6d316a262c527b53aa449180eacfa52a5e71d8067f769388f22a6434a705768cedd87386b253b2fd1a5c7436cc63fbb36 SHA512 d0edb8abf6a155dfc7e0a9aa93dcf5817dd624ceaba9b090cef1f5df6486d2187022fc35b6903fa8ac88762d2ad9742a783bb42fb7d3d87b21d8f94af375e2d3 DIST kubernetes-1.25.1.tar.gz 38046191 BLAKE2B f2a268a227986a8f9cfde48cb4641fba3102033bbceaf3c9d306e3e3ad82af826b9b2100ce051e62c6b1f36f42367853726fbeb40294dacd9ef1b9811b81410d SHA512 6c61689c6a08816fe9cf79b31bce7b131ba2398ee1257a94dffa25ef001bf6f1ee971db7479d4a984180fb13d6af8394440928c86f7f906cdd07e4d872c91430 DIST kubernetes-1.25.2.tar.gz 38046748 BLAKE2B a8c2e5388b95bea40d8c4d672963b231b72dea308dacc0ab20cb91b214eead8ff73b225c565c527bf24e0a9f16638e41b12eb58e026892e371ffd43e6c50d278 SHA512 3b88af0efd0024b3bbacae4f9f1b13a6d7ef2bc47fc8329e7073cb347b2bb9db1aebc2ae1298dfad60d673469478121c96320ef3bd68e26e41f56aead0eae7ec +DIST kubernetes-1.25.3.tar.gz 38051233 BLAKE2B 06d7d155ef8ff6508e0bc8e9263689a3ace1ac0aeafe7cea76bff47494e2227bf7d6cd7f4d5ee044049cd6685398934c941c61743db699f60f9d8ee29d521753 SHA512 817c33b21366158465f1f2af8471154849ad69e8b9c24cd67de2e6d3c48f604e256a4fe65e886d7473577efe80af82027c29c0c043ab27e03b7e3940ff7186fb diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.25.3.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.25.3.ebuild new file mode 100644 index 000000000000..cbfbfcafdd67 --- /dev/null +++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.25.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 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} +} |