diff options
author | William Hubbs <williamh@gentoo.org> | 2024-03-17 10:03:30 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2024-03-17 10:03:30 -0500 |
commit | 15dda5f50a9427aff7aa81e7693ee88a79980119 (patch) | |
tree | ccc3179cda98f347df500d0e89eafec424e2cbf0 /sys-cluster/kube-apiserver | |
parent | sys-cluster/kubeadm: add 1.29.3 (diff) | |
download | gentoo-15dda5f50a9427aff7aa81e7693ee88a79980119.tar.gz gentoo-15dda5f50a9427aff7aa81e7693ee88a79980119.tar.bz2 gentoo-15dda5f50a9427aff7aa81e7693ee88a79980119.zip |
sys-cluster/kube-apiserver: add 1.29.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.29.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 f08a2d943534..752cbed40d6f 100644 --- a/sys-cluster/kube-apiserver/Manifest +++ b/sys-cluster/kube-apiserver/Manifest @@ -5,3 +5,4 @@ DIST kubernetes-1.28.6.tar.gz 39955920 BLAKE2B d492139efad8328ee1024445e568e4b44 DIST kubernetes-1.28.7.tar.gz 39959046 BLAKE2B 1120c0b5b902a2ab26473bfafbd9b4f0dbd52e134ae9830618047178416ff9639b20746bca19b987daca066d88ca39039f8a50e5f2239c37e158adc3c098b92d SHA512 ee33a5e729c959847f30101e55be7b475db4a3117eaff8870f2ac564573529e7c8908da9606ddc2460a5483747c44e05ebc65709c06d352f590b57a81eedb9f3 DIST kubernetes-1.29.1.tar.gz 41130463 BLAKE2B d75807ec1b0ee92f7f91f985b10c37ebd352286d12a25b08fa2ad71e54f45e51aba49967a268b996932f421fd4163bd8815b4abef1aeb3776576ca76f2dc1779 SHA512 aee9da0fb1da355cbcdc9db584d99969c13cf8c4fce669f209b6e309cf059556f2820e66a90e8ea09dd56d7c289c6a9cb2bf817e2d260220c77d0a9cd2a4850a DIST kubernetes-1.29.2.tar.gz 41132583 BLAKE2B ebccc20026bbe9f6829c12b458cd80b76d4b104d8610d0998f1602e42983ce73fb118be2bde092fc58291224f1e49f308243e821184a94365d3a6103f5a24c09 SHA512 8358890bd1769492c686abf938981eedc3b98d742dfc85ccd8799531ff78418cf26a611c84d1bbc610e942ade7c4fffdd146113e642f948d0f0b917558a4f47a +DIST kubernetes-1.29.3.tar.gz 41151982 BLAKE2B 6eec9ee21caa2da737185f64a1fa49fda6ad914e9f1cb0c9fd8f0e43d6eaec1e2efaa23bcbbf06c116d554ace1eaef98ff2e9db409487b2317f631768d79b54f SHA512 853b7d38c850780a5e39fcb817012b35eea91b62d055f6611aba8f14cd7f6c176a047dc7e79ecc11d3bd7815f3ececb26b8e5d419124c03c4aecf6f0670ca603 diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.29.3.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.29.3.ebuild new file mode 100644 index 000000000000..cdf98b8db32f --- /dev/null +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.29.3.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.20" + +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} +} |