diff options
author | William Hubbs <williamh@gentoo.org> | 2023-03-08 15:32:19 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2023-03-08 15:32:19 -0600 |
commit | 090258f8a812a433ad3946a3657a3bda8595a819 (patch) | |
tree | 08f64cf621823d9752b655ec82eac60af772bf0c /sys-cluster/kubeadm | |
parent | sys-cluster/kube-scheduler: add 1.24.11 (diff) | |
download | gentoo-090258f8a812a433ad3946a3657a3bda8595a819.tar.gz gentoo-090258f8a812a433ad3946a3657a3bda8595a819.tar.bz2 gentoo-090258f8a812a433ad3946a3657a3bda8595a819.zip |
sys-cluster/kubeadm: add 1.23.17
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster/kubeadm')
-rw-r--r-- | sys-cluster/kubeadm/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kubeadm/kubeadm-1.23.17.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/sys-cluster/kubeadm/Manifest b/sys-cluster/kubeadm/Manifest index eb2e368df6c3..8ca6bc9a690d 100644 --- a/sys-cluster/kubeadm/Manifest +++ b/sys-cluster/kubeadm/Manifest @@ -1,4 +1,5 @@ DIST kubernetes-1.23.16.tar.gz 38115819 BLAKE2B 39a49a07d9d5c134b6d3edb0d48540ae00c134bd80a6236942f67faebf746e49d38bd23ff2d1935591a12043c4014fcd3a66739e6a3f38b72d125170f265254f SHA512 2eff0c8827fd01953e9d70a010f48ce35313969f238d330096b16ca9041983e992c45d97e4f0fb3b189c003b9f7805cf943727e32820fdb893fce1ffc4d8f092 +DIST kubernetes-1.23.17.tar.gz 38135738 BLAKE2B 18661ca95d518ede1b8f08ec380bdb4678c0ba06bd4a7bc5aed323d6cec78fb8724a2880bd048df734e17f977159f21532349bae08a351b4adc56f52bb2e8198 SHA512 8cbe20601966faf2830dbe66548b95654651e3501c474be5351dbf64dabd1763f75e0afaa99ee31dabd8ea02ba1b16df6ba2a789aaddcad776ca0690637d05ff DIST kubernetes-1.24.10.tar.gz 37847249 BLAKE2B 7f95f4ac29b5898033a8c19dc838eeae546befb762a19fa06fc6db29321cf7355f46958f994e374c395a9084bf5dc1580423ef7837e966277b7427a3b72428f3 SHA512 016b95537af6437d6285d07bfded048b093520fe7715dd8074bdde6a1646aa4e16a43b2dc6cae21e678795122b82dbeb1b7ac3f61997802e53bef518e3dcd2d7 DIST kubernetes-1.24.11.tar.gz 37867002 BLAKE2B 3972a049b1549cb1ed147763f09d20b656243814a91d701a1171c171a19721aef2b8393121160edbd75e6f11978b355ce8e97ef6e9d007634428753d7cc1499e SHA512 ceaa5ca883d208e8f80d4d2628195256df697ce5ebedf2524af7cd94ffd783c055c47797cf76f6d4893e2392b652a89f55999251feda196b96b9df4c27215adc DIST kubernetes-1.25.6.tar.gz 38158861 BLAKE2B af116c78d216477ab757523f66b3332ef982b49384145a69d1b5641b0929b7179171814f89bbba1950b0ab69476e9e48722e8b9b04f0e77610d7dc602d4bac65 SHA512 47e0f736ee7efc614a2e8ed08acd95b64ee78484ac735ca515a03607634a9a94e2d7f3989db300f130506390a93eebb32fba4e54fe2869e3c782932f9b9a033b diff --git a/sys-cluster/kubeadm/kubeadm-1.23.17.ebuild b/sys-cluster/kubeadm/kubeadm-1.23.17.ebuild new file mode 100644 index 000000000000..ff8db8b2469d --- /dev/null +++ b/sys-cluster/kubeadm/kubeadm-1.23.17.ebuild @@ -0,0 +1,35 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit bash-completion-r1 go-module + +DESCRIPTION="CLI to Easily bootstrap a secure Kubernetes cluster" +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 selinux" + +BDEPEND=">=dev-lang/go-1.17" +RDEPEND="app-containers/cri-tools + selinux? ( sec-policy/selinux-kubernetes )" + +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} + _output/bin/${PN} completion bash > ${PN}.bash || die + _output/bin/${PN} completion zsh > ${PN}.zsh || die + newbashcomp ${PN}.bash ${PN} + insinto /usr/share/zsh/site-functions + newins ${PN}.zsh _${PN} +} |