diff options
author | William Hubbs <williamh@gentoo.org> | 2023-05-18 16:11:55 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2023-05-18 16:11:55 -0500 |
commit | 36c1bc0d02e5442a69bfd2625f7e14af16f71f48 (patch) | |
tree | fd15d4c6625fc7620bb4c7a8b9075825a7e3da78 /sys-cluster | |
parent | sys-cluster/kubeadm: add 1.25.10 (diff) | |
download | gentoo-36c1bc0d02e5442a69bfd2625f7e14af16f71f48.tar.gz gentoo-36c1bc0d02e5442a69bfd2625f7e14af16f71f48.tar.bz2 gentoo-36c1bc0d02e5442a69bfd2625f7e14af16f71f48.zip |
sys-cluster/kube-apiserver: add 1.25.10
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/kube-apiserver/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kube-apiserver/kube-apiserver-1.25.10.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest index b110fef4fb27..40aa88a41285 100644 --- a/sys-cluster/kube-apiserver/Manifest +++ b/sys-cluster/kube-apiserver/Manifest @@ -1,5 +1,6 @@ DIST kubernetes-1.24.13.tar.gz 37889804 BLAKE2B d10f0bae7747700f2e995ea4829d219820360d92068ba8c3a656d15d411ea5892068cb925620cb506c9e171340b3f39427bc2c948dafcc3703a5668bf24163c0 SHA512 0519f2149a5ad675de2b5bfdfad1160bedc03d1b0a14280606388f526bf7558955917204604d949bcb650923016e35bad2b772220d01db55c8e463d992c12f6f DIST kubernetes-1.24.14.tar.gz 37908337 BLAKE2B 08f52b611bea49f1c204a4fb956d87be6f571ef122b4cc10101862c61d11751d944d9140c4355be95759f83240cb8a3d4879c72e077bdc10f235d03b1a0f99f7 SHA512 74cee62fdc7e0dca1430688e832d3b308b6604dee6ca88d5f19fd6b6a9c83833d003ae87d8a09866e2e8fd01cbde0a6ae4bd126f9845f770c76942f1772f04bb +DIST kubernetes-1.25.10.tar.gz 38218997 BLAKE2B 5f256ffe2236c4eefebbb66051b8bdb70c94fcdce4b606c2233e3f0e9d31f0516b5e4d8104b01fb486abcb8ed77294a5573d91c5feb7d3c456146b04dd5a7ef4 SHA512 5e3714596e24906bbfe4b6a79e323b2fdf06fb4b0bc52162a65009b836dcba32f021931cad6cf1d7f94d87937118bce09927be0be83cb1ea9f6fe790db584974 DIST kubernetes-1.25.8.tar.gz 38188305 BLAKE2B 5c1cc06121243e54ceb42364995ac77f8d6190fb8d8f1198284120d134295c5ff660565c3ec45a416d3231c9d32bb96338c291b6373c1405aa260f5ce6601650 SHA512 30f1815de4d5bf3a091f1937c94e0e6cf0abc0f527488b72ec4a7d72c014bb8fef450abbf4c908f8a5b791e8d4ab501edb3f5c55af4e370359a952a6228362be DIST kubernetes-1.25.9.tar.gz 38197577 BLAKE2B f90e8e6fff4ada4b36b16623463e99de2818343c4206ada7c230799a01df189c196dc9d8f747517465606958f84b49bbf6a84d759590763ebf3079fa8e2f87c7 SHA512 6966e4246715c358ea60bd581ae9706d002d7463ab5466984a099249e8bd8aebf4929715ece255e3975a60aa4639912d0776ba86d6095438a0788517765cb61c DIST kubernetes-1.26.3.tar.gz 38215855 BLAKE2B 1bc1b4e9aeebc41e3e7a519f097b886d0cdede91f0cbbabc7c26db1c75d87220f2e8a5aa5ac85ad0c01486abd5806e74d2b09aa1a0281364b70417d3daea503e SHA512 7a8aa29ea282aec99046d231d4c6756e36ba74eca4c2300b3b1f5a1362d211ffe712957746044168b254ba7332e324e341a2e4d56be7bb6a58de953fa630ac14 diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.25.10.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.25.10.ebuild new file mode 100644 index 000000000000..467da4d39d0b --- /dev/null +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.25.10.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.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} +} |