diff options
author | William Hubbs <williamh@gentoo.org> | 2021-07-13 15:54:37 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2021-07-15 14:04:16 -0500 |
commit | 42693379b348936ad771577a2028b5d86c04c8b7 (patch) | |
tree | 1ae229c4bd5c18676b8ddfd448fdac58fec4b3c3 /sys-cluster | |
parent | sys-cluster/kubeadm: 1.21.2 bump (diff) | |
download | gentoo-42693379b348936ad771577a2028b5d86c04c8b7.tar.gz gentoo-42693379b348936ad771577a2028b5d86c04c8b7.tar.bz2 gentoo-42693379b348936ad771577a2028b5d86c04c8b7.zip |
sys-cluster/kube-apiserver: 1.21.2 bump
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.21.2.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest index 4a2a1b2a781c..83fd84db345b 100644 --- a/sys-cluster/kube-apiserver/Manifest +++ b/sys-cluster/kube-apiserver/Manifest @@ -5,3 +5,4 @@ DIST kubernetes-1.19.12.tar.gz 33540953 BLAKE2B adcaec9e572c8e76ac87ce9e121bc87f DIST kubernetes-1.20.7.tar.gz 34486823 BLAKE2B b0467ecb4527a6de3955185ea377248bbf0b83624af8afd4bf8f33cb2a5e33d0433ea98b3f984a38c59ad9fd6a8cf3e8124eadc81cbe337ca7bc4bce53d4f9ed SHA512 ccb8ac6f1d9535791386ee73ba5008180e1a77fcdc320363248037117547eb6c59d25c46ea1d5bb49043717e2b6a1796470b3b677229a7a40fd6cd1f4b8ab695 DIST kubernetes-1.20.8.tar.gz 34490175 BLAKE2B 5d99299d14f14d882c39a4928699c5eaf2cb9583ecf050e5cf80b800d4fd80c7e976b16e606b4ec22f32db16fe1bd14be7e1280a9683968a2e4b8f2b682ab084 SHA512 172127ec5015bddf763ecdbebd3922c1c77ecb8e976b72f08f9e6d6768132f06b586a639ae0e8cbbe4db3f029d509740b3efa119f468387637dc15fc63d79aac DIST kubernetes-1.21.1.tar.gz 35982846 BLAKE2B 3852fbaa07b622561f88cd1821b87fe08e04a34cbf4538f63c2ed325789c9263eddc8844a35eae3394795abd25096bdfa00df7584d5fc7006886bc3099924de2 SHA512 d3257566a07e1c08bfcbce85775af8c2d7dfbc7df4aa8692e6a0a6f8590f7eeb9fc6802b715ee8b0f67b2f41344e926a0a955afa68e2b8d518a7d8160771dfcc +DIST kubernetes-1.21.2.tar.gz 36081553 BLAKE2B 60566f2f33aebcd2f48e9d245883aa74d17ce21bdec05b529265a55e266497d6c7278fb7fdb5a94747e10641b5843b2a4b8079b981818ce3f3078c046ed72762 SHA512 20f81c975d6a5a4e6cbbfcaa2f34e8dd4f96018a8a60004a9fedf13eb9d8d43a14f0b746fb48a1240e378d2a1b8de440104c72269d68239040fa6a690c5115ff diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.21.2.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.21.2.ebuild new file mode 100644 index 000000000000..4ad13d1aaaca --- /dev/null +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.21.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +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} + !sys-cluster/kubernetes" +BDEPEND=">=dev-lang/go-1.16" + +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} +} |