summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2021-04-30 14:04:22 -0500
committerWilliam Hubbs <williamh@gentoo.org>2021-04-30 14:05:09 -0500
commit0c92821a6e9a3acc2dcd1bc17c5033a2877e8b97 (patch)
tree20d82c6fe3a91777fe4dad7460fbc36d391881ed /sys-cluster/kube-controller-manager
parentsys-cluster/kube-apiserver: 1.21.0 bump (diff)
downloadgentoo-0c92821a6e9a3acc2dcd1bc17c5033a2877e8b97.tar.gz
gentoo-0c92821a6e9a3acc2dcd1bc17c5033a2877e8b97.tar.bz2
gentoo-0c92821a6e9a3acc2dcd1bc17c5033a2877e8b97.zip
sys-cluster/kube-controller-manager: 1.21.0 bump
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster/kube-controller-manager')
-rw-r--r--sys-cluster/kube-controller-manager/Manifest1
-rw-r--r--sys-cluster/kube-controller-manager/kube-controller-manager-1.21.0.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-cluster/kube-controller-manager/Manifest b/sys-cluster/kube-controller-manager/Manifest
index 019b4d41a1c2..fbde48252fa6 100644
--- a/sys-cluster/kube-controller-manager/Manifest
+++ b/sys-cluster/kube-controller-manager/Manifest
@@ -1,3 +1,4 @@
DIST kubernetes-1.18.18.tar.gz 32427845 BLAKE2B 10e04ac2097a01702ea227f217b2346378b17a4040ac677ecde592544febe204c443c0a722d34617a8cc7db7d7909a9f9b6cfd84bc3e36e7862a72273bc45ef3 SHA512 8305cff40d08a40c6c8e71e9056fac6b76856a6e39ac8d2e3952c155a8c70a9d7c269725d55df180dd906d0ff6d9c8b9e17a58b00a08c86438f1435058163fd3
DIST kubernetes-1.19.10.tar.gz 33529312 BLAKE2B 8566eaf43beab26fe781e3520be147620a256d2b9fc895d51c3707dfb34c8e53667527bab23d6b1b5a64dee291893ec69a3bfa54b72da0e0e9a7f27acbd0c7d1 SHA512 7a69062be5a2fd0522f03077edb023e59f4887580f3018e4a3c1726c888d1123e3beb1adce58e7ff4b658bd3f1eb8e650f022f88c2d0abbc561acec164028cf5
DIST kubernetes-1.20.6.tar.gz 34478669 BLAKE2B 82e3aac07e9f360cda6854f4ff51082e96648c1a78888a6dd43530b31404089cd1eaa2805fa9896dfa1bdef03ebdd04b6dda8ba948d8b16be28534390554da5e SHA512 b3df8266c597b3e2270e7caea24129ebc8fa258e32e747c1e48ede5ad0244c791f9da39bcaf7c08df8c1b314976742db23ecaa4623ab241f87a80d4834a0948f
+DIST kubernetes-1.21.0.tar.gz 37484462 BLAKE2B 78ae44985eccf9e17d58ccb3f9c98dcc469059e17375b016d82df6d5ce02451e0bcac49cdd89d5ae82bd718191e83fbf6e128ae3a4d14569460febd0c027edf3 SHA512 f5928f5aad0ce1dee7db145a798c5038aa5ca085a09ba9a2da5cabb36c54f2adc86ec5948d4cf344544c45c29d18e7b9f04bf14c4a91aab637c7244fcf3f80d8
diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.21.0.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.21.0.ebuild
new file mode 100644
index 000000000000..68d01d0642b7
--- /dev/null
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.21.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+
+DESCRIPTION="Kubernetes Controller Manager"
+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-controller-manager
+ acct-user/kube-controller-manager"
+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}
+}