diff options
author | William Hubbs <williamh@gentoo.org> | 2023-07-06 10:34:16 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2023-07-06 10:34:16 -0500 |
commit | ea1f1d72b7d458a976861fd404780bc5fdfece3d (patch) | |
tree | 09f70d288c2d5939269974003a1a4cec89171836 /sys-cluster/kube-apiserver | |
parent | sys-cluster/kubeadm: add 1.27.3 (diff) | |
download | gentoo-ea1f1d72b7d458a976861fd404780bc5fdfece3d.tar.gz gentoo-ea1f1d72b7d458a976861fd404780bc5fdfece3d.tar.bz2 gentoo-ea1f1d72b7d458a976861fd404780bc5fdfece3d.zip |
sys-cluster/kube-apiserver: add 1.27.3
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster/kube-apiserver')
-rw-r--r-- | sys-cluster/kube-apiserver/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kube-apiserver/kube-apiserver-1.27.3.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest index 031ec8455e71..8f1e8ab1a73f 100644 --- a/sys-cluster/kube-apiserver/Manifest +++ b/sys-cluster/kube-apiserver/Manifest @@ -5,3 +5,4 @@ DIST kubernetes-1.25.11.tar.gz 38468419 BLAKE2B fa90ffc6fdcba31f4fb70f7ea9cecae5 DIST kubernetes-1.26.5.tar.gz 38241396 BLAKE2B e42ffb2396b9811cf23f861327fdd93d067e43b222971b3fb115679692f8923c11494ac7c1bd8ed8a13cfe95b3964e33dc030405d2a3deb19e04c843f75eb7b0 SHA512 d35e663e469d29c77abfae443c8f835103e230805331a98ed6314518bd937c366e2734c687c31c4eadf7ecbd0a607dece463edb0057270a37114681d8aa77f0b DIST kubernetes-1.26.6.tar.gz 38489671 BLAKE2B 94b37634fec8f1b19953f0433038e289fe86626db8962e90a52ee82b502251fd2fbae0bb402aff53a8d975d6912a942d0909b7c66b0d38b406ebdbee71d0d97c SHA512 02a6ce3c0ec44dce5b03b97d4a544ac96d43a2342f172c176cbe83b269ffec4c3704f01f620eb11cfdc61728f8431ab6ffdbecc21e0cb29cb388b62c1a930cdf DIST kubernetes-1.27.2.tar.gz 38061986 BLAKE2B bbb39453cb642abc693a8b646179eb5ccf6886c37cf380ae139c096409a33c38d5d081007a009a4785498f600b89f91a430b7bde191298b108ada336ef3414b1 SHA512 c7a4f6f3e3e6ce66295e9c09b5214ed3b9fa3b674b0b7e200672da5873fbc75533d1e6a5d9e04edba09c81db35e3309dbe6ff6a4a9dffc6687c66a6e5e566b1d +DIST kubernetes-1.27.3.tar.gz 38121196 BLAKE2B 69aab2d42fdbb5704d6bd248e6ced154664d20d66ad21e7cf3b6ed92a262f4d1a2dc5b22912b6cdca0a40fecdc262ae7124a2969955f234c49c0950ea68f171f SHA512 51cf0178c8a2a00798cc618c9918f556c418de137566db60a66a0c7556ee625b34cf86b1da241856599784588c0e3e8b81225dca627fea70a87c94adb073bb7a diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.27.3.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.27.3.ebuild new file mode 100644 index 000000000000..4385ac330a7d --- /dev/null +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.27.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit bash-completion-r1 go-module systemd + +DESCRIPTION="Kubernetes API server" +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-apiserver + acct-user/kube-apiserver" +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} +} |