diff options
author | William Hubbs <williamh@gentoo.org> | 2023-09-18 10:59:18 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2023-09-18 10:59:18 -0500 |
commit | 14d9a124f3c5fb867e5b27f04f21df00d6fa5a23 (patch) | |
tree | 9c7082ed60e461ae4b2783e80fb83ebacf1841e3 /sys-cluster | |
parent | sys-cluster/kubeadm: add 1.27.6 (diff) | |
download | gentoo-14d9a124f3c5fb867e5b27f04f21df00d6fa5a23.tar.gz gentoo-14d9a124f3c5fb867e5b27f04f21df00d6fa5a23.tar.bz2 gentoo-14d9a124f3c5fb867e5b27f04f21df00d6fa5a23.zip |
sys-cluster/kube-apiserver: add 1.27.6
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.27.6.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest index fea2d88486b7..fb5b5aaa2536 100644 --- a/sys-cluster/kube-apiserver/Manifest +++ b/sys-cluster/kube-apiserver/Manifest @@ -5,5 +5,6 @@ DIST kubernetes-1.26.8.tar.gz 38511916 BLAKE2B 60e1277debcdf5b093629d718552948a2 DIST kubernetes-1.26.9.tar.gz 38520517 BLAKE2B 4e49686fd083b1aefb314a1f6acbff91437a5f8e6801c20bcf493a29eb99c419c13cd1246efbe4e6baab0da22a19df189a6cda7047eaa14edf7fa895eeca5535 SHA512 9ad42f2ddbd8662b9175d58f06024571e3bc07f3d905f66a9cc5635e41492ed9a9cdb0debe3864990516dacc41afb58265dc918d46a078e77f0889b9ed121427 DIST kubernetes-1.27.4.tar.gz 38192024 BLAKE2B b4f3afe7e96f74cbbb18866234e4ad591fa055bd158c8dad4b17c66b9ff5dfd9ea28bfd4ed5a89433fe58ecf4c86c821b1fb89bfaa5808310c8b72b875ce3fa2 SHA512 0558a8760e538aeb29efff54282a2fab613f5e6c16abf8964ab836065a4f40a568dae3caa5c06e172e2643491a63b1056c093421fded8cb9b7a0c0ed10b9f6ec DIST kubernetes-1.27.5.tar.gz 38204018 BLAKE2B 4b44430f7854fca70f650c31388b9d378218d6d4ed116659522542a0e199a19c65e152a4b7235ad5f5fe86753c3ee834ea162da9ff889e384bee780a61a39c42 SHA512 9237d03c3cc2374b1e3631f63ac850fc2461628785863c909972c85b74d9fd3c75dc286e0953059c1999457d2a43b474b1ec7b8c633e158aeb88f89e02e874f8 +DIST kubernetes-1.27.6.tar.gz 38249520 BLAKE2B 942a66075e0ec9aec579908f7a3724be2bc5fb0d8f40d8fd3d025221199e97c44e96a13099bff7a408af9847ef0f5568033146cbb1566a608a572418410cfbdf SHA512 147c0eb819a1ea8c2d49467bceacdefe7693082609bce924bbafe9dd7afc27a576bf6b5d350b63da5fb7bf6cdf20983ac681e48539edda777303f81e4e2a72db DIST kubernetes-1.28.0.tar.gz 42229948 BLAKE2B c514577fa3cdeee6fa1d6f488de74b56845e3cfaf7f810ecd4ec9c023f034e0c50b647ebf5b60eb26b9387b79d060a6aeee9eee43fab904094ec767603fc5c6d SHA512 dcb5f2ec3fec841a3a1678ac88473b355f13cad1543b5098a2f1fe1d217e34fb46727c1345bbd35945eb4164aa4fe069ebdefc2328c8797671caa9a5be0f8fd6 DIST kubernetes-1.28.1.tar.gz 39881720 BLAKE2B 9f56e1a9d2c45948c3c4baca99b16e8b73cb2e375088b9d3badd1664ebd178a052855c235637ac2f596cbb02ec440958710f39bd5dbd34e37f74c4260dd8cf65 SHA512 cc28483e09f7a3861bf1b8f7867e3295f8879a2c0a2a851ce14f41158c8ea3cb080ae697dc897d8a55efd3a7f0dcbfcca2d39dff6fd9ca0dd1b5762c1010fb09 diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.27.6.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.27.6.ebuild new file mode 100644 index 000000000000..4385ac330a7d --- /dev/null +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.27.6.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} +} |