summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2024-06-17 11:30:15 -0500
committerWilliam Hubbs <williamh@gentoo.org>2024-06-17 12:16:51 -0500
commitaa972f3a045e7cd5e13c63ecb10ab5258d3fe2e2 (patch)
tree46f0ae7298c0faf60e2da68a25bd5a341668b5bd /sys-cluster
parentsys-cluster/kubeadm: add 1.29.6 (diff)
downloadgentoo-aa972f3a045e7cd5e13c63ecb10ab5258d3fe2e2.tar.gz
gentoo-aa972f3a045e7cd5e13c63ecb10ab5258d3fe2e2.tar.bz2
gentoo-aa972f3a045e7cd5e13c63ecb10ab5258d3fe2e2.zip
sys-cluster/kube-apiserver: add 1.29.6
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/kube-apiserver/Manifest1
-rw-r--r--sys-cluster/kube-apiserver/kube-apiserver-1.29.6.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest
index 2ef2922b8c21..c857d3a957d7 100644
--- a/sys-cluster/kube-apiserver/Manifest
+++ b/sys-cluster/kube-apiserver/Manifest
@@ -4,4 +4,5 @@ DIST kubernetes-1.28.6.tar.gz 39955920 BLAKE2B d492139efad8328ee1024445e568e4b44
DIST kubernetes-1.28.8.tar.gz 39978242 BLAKE2B 3e2aaa7e79ccb5f9f71be0e6c33b58237d297b79cd4f5d5bb4b09e7196d933dcb2aa8cafb9e74360e204116c8684a7263ac4db6dc257adc77a98d31c22a502e8 SHA512 2bbc48394784b34712c6b419cd07971780410223e7015c5fe6ed2c25c4e9499e81c9ea1f4269d399fd7e908971f5b8e873595d2b67332f7b49f61a5411a2aed1
DIST kubernetes-1.29.1.tar.gz 41130463 BLAKE2B d75807ec1b0ee92f7f91f985b10c37ebd352286d12a25b08fa2ad71e54f45e51aba49967a268b996932f421fd4163bd8815b4abef1aeb3776576ca76f2dc1779 SHA512 aee9da0fb1da355cbcdc9db584d99969c13cf8c4fce669f209b6e309cf059556f2820e66a90e8ea09dd56d7c289c6a9cb2bf817e2d260220c77d0a9cd2a4850a
DIST kubernetes-1.29.3.tar.gz 41151982 BLAKE2B 6eec9ee21caa2da737185f64a1fa49fda6ad914e9f1cb0c9fd8f0e43d6eaec1e2efaa23bcbbf06c116d554ace1eaef98ff2e9db409487b2317f631768d79b54f SHA512 853b7d38c850780a5e39fcb817012b35eea91b62d055f6611aba8f14cd7f6c176a047dc7e79ecc11d3bd7815f3ececb26b8e5d419124c03c4aecf6f0670ca603
+DIST kubernetes-1.29.6.tar.gz 41177485 BLAKE2B c02b17fe4cb2314a005180ba6813d056f49e980af9a96f392d9e46b7b436e062fbabf2f64b996e23c7a84db9f3970a1a24dc63d5ee0ac3029e375cfdec47f473 SHA512 d7b1401a6844c8e43a822b4f062ea4cc58f8fefd74c31a2936e9121220f30e9bcb9358683836d68f66cb28451cf3462a1c2c81f85f9ea53b4e919a370d3245e2
DIST kubernetes-1.30.2.tar.gz 39581297 BLAKE2B 7d1f303d21b870ad29d2cac96626edc3a19addedd544624e5cd9f42beb368e0959e499e5fd88bc7ee491a01cd29573115d1e77dfb73098ea88204a2614f7b635 SHA512 73f87da96fae889805e3e8fe644228159746c139e907755ec8654dd2fe46bf4561c6c5bb015bd95a6a1f5ba9be2e193aea9bb43b37ce1d67fb4ba42a50b9dac8
diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.29.6.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.29.6.ebuild
new file mode 100644
index 000000000000..76d302232ac9
--- /dev/null
+++ b/sys-cluster/kube-apiserver/kube-apiserver-1.29.6.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2021-2024 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.21.9"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fNO-PIC ' '')" FORCE_HOST_GO="yes" \
+ 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}
+}