Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from gentoo:master #6954

Merged
merged 19 commits into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
sys-cluster/kubeadm: add 1.32.1
Signed-off-by: William Hubbs <[email protected]>
  • Loading branch information
williamh committed Jan 16, 2025
commit b853a5eafb7d8992ced4c470b1b17eab75985d59
1 change: 1 addition & 0 deletions sys-cluster/kubeadm/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ DIST kubernetes-1.30.8.tar.gz 39619616 BLAKE2B 47cef4db8b94bfbc7691daa3afdf409ff
DIST kubernetes-1.31.3.tar.gz 36572445 BLAKE2B ada6c5620d01e721e20673bebb4edd70bd9e2e6684b1bc3a781d84ab16790b228119c825e5727b5350e6b3a118501e240d863988a5f266c84d2cf0e07ca02cb2 SHA512 9b3e2ceca89bb7d388868eda65ac29dbc7fa2425cc607bd6adeee104b3b2139b24c9042d6fc0ca9e7b80ac5a79a0754a7485a237fa4a14ed0e24340634776c38
DIST kubernetes-1.31.4.tar.gz 36572367 BLAKE2B 34ba7b018550d3a569fbe578392194225248988fd840d5f1958950419b898e6fb109da58fae05d683819d3e205e79f85e4f99caaed1b50536a865cc44e9a6377 SHA512 74e3b3a12f9b3322702f48b76b026fed5f2084181ab687acb109eff8b9f42a20067e173255b7ff4adb885525dff13a52d04055dae21b394275dd61c14040e0f6
DIST kubernetes-1.32.0.tar.gz 39162995 BLAKE2B 72e717b1c3d2d40e46b236c5bdbc1dbe8aaca3b45a0a64dfd9fbd8dbcd7fd56202cb616f6fe35dbcba4d1cb2555c2fc6eba0c630662bb5e9c67763432ba14b9c SHA512 baefc48e15e4ab72636db5d78cf606f586991674308492ff41907611f5630ac8c3e80a5468bd3d4f1379ab54645d4e167a0e1d217a406542b2e32fa9fdf1c549
DIST kubernetes-1.32.1.tar.gz 36344641 BLAKE2B bd9c74dd30b257f70b8302d645754683df1202c3d7fa89a9966a0fc6c5f4b1daa1ddf7263848871d950a35626ae643575b45d6d960ad33ce209e69ad60167bb7 SHA512 060ebcd2b0b29391d9605cd059f2c5761f9f51c21e2bdd6d99f086e0e65f476c7d7dc3b4ad9b1507fe2c9d71e9ffbde2555ee67e2c2d7ba97d366af97f995322
37 changes: 37 additions & 0 deletions sys-cluster/kubeadm/kubeadm-1.32.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright 2021-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
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"

S="${WORKDIR}/kubernetes-${PV}"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"

IUSE="hardened selinux"

RESTRICT+=" test"

RDEPEND="app-containers/cri-tools
selinux? ( sec-policy/selinux-kubernetes )"
BDEPEND=">=dev-lang/go-1.23.3"

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}
_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}
}