add app-admin/kubectl-who-can ebuild
This commit is contained in:
parent
a4f0ae3e2b
commit
36566f0430
|
@ -0,0 +1,3 @@
|
|||
DIST kubectl-who-can-0.4.0-vendor.tar.xz 3420556 BLAKE2B 9dd37f5c62e14f5d62ceb9e3d7d9d1d962ad15131a0f7126b2ffd46e968e55b37fb690109ddb9583b424bc23ddc24c0b96910a5670ab16d22126ee14d9425ee3 SHA512 0e6548aa1a25d114e7f0d3ed61df3333a2f5d3a5bd064f0308f34f1a723f908a32b33fac6f6566136d5ccdc06cc95ed4347c7fdd3b62f00b1db8d691c9c755aa
|
||||
DIST kubectl-who-can-0.4.0.tar.gz 66364 BLAKE2B 0d4040f8ea1ac6b3a7099ea5d16753ae28736c21c955961e2b3214ff2bdc9d5634c17196cdfbdebd49c1365142dece75acfb8cdc20d789781528f002c00a48e4 SHA512 630fffcabcfebc92e7f3c99ecb484ff3af7a20237f036b1224f499b15e2e0fc953b6c936b678097f2da0b3d47eedb8569f72e53876eb02496424d8bc14d5e3ce
|
||||
EBUILD kubectl-who-can-0.4.0.ebuild 686 BLAKE2B 77b55caa2b012db49789ab98ee032a26ec503606dcd2cd5aba7f412364e81d1c497e0ef5e71c435fc14274cf252741e79c18b8beded0f47e96f07058ffecb7d3 SHA512 5f47cdfeedf9ec3544cac0cf65141dfc115616041e5053285442e67dd934cfe3fd6f7d62a0de2fe1f2e36f017a0f7d39376e2c85ad51feeb5bdf30afaefce521
|
|
@ -0,0 +1,27 @@
|
|||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Show who has RBAC permissions to perform actions on different resources in Kubernetes"
|
||||
HOMEPAGE="https://github.com/aquasecurity/kubectl-who-can"
|
||||
SRC_URI="https://github.com/aquasecurity/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://git.millerson.name/alex/gentoo-artifacts/releases/download/${P}-vendor/${P}-vendor.tar.xz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
src_compile() {
|
||||
ego build -o ${PN} ./cmd/kubectl-who-can/main.go || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
}
|
Loading…
Reference in New Issue