summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2021-01-16 14:22:07 -0600
committerWilliam Hubbs <williamh@gentoo.org>2021-01-16 18:36:59 -0600
commit6628e4580e0708b8cd4c798764e2b3020c14c550 (patch)
treed0e5b09320c1be4826670e6c4945efbdf22e9894 /sys-cluster/kube-controller-manager
parentsys-cluster/kube-apiserver: 1.18.15 bump (diff)
downloadgentoo-6628e4580e0708b8cd4c798764e2b3020c14c550.tar.gz
gentoo-6628e4580e0708b8cd4c798764e2b3020c14c550.tar.bz2
gentoo-6628e4580e0708b8cd4c798764e2b3020c14c550.zip
sys-cluster/kube-controller-manager: 1.18.15 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.18.15.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 46ac39910610..cfe31995d2e9 100644
--- a/sys-cluster/kube-controller-manager/Manifest
+++ b/sys-cluster/kube-controller-manager/Manifest
@@ -1,4 +1,5 @@
DIST kubernetes-1.17.14.tar.gz 31844013 BLAKE2B 725081706a7647127018d34d55d1eae1ac750d1378a7b8762aff39a638f88931e2f37d8609329b32bce360bb52e654f230f1c121d122fd90ab94de6b8a035f0f SHA512 6d5a22c47bd89a5622e38746a6e9c6d3146f065d7f1e63c161f6fc667e1c7d973a4ce0a77a63b53ed46708f490477c182119a0809d08b8ee3041f232a60ad19e
DIST kubernetes-1.18.14.tar.gz 32666861 BLAKE2B 6a005804280d72de84d1bab68a51e72c41de0b3a50a1c40befab1290e9fcfecba133fa441f50bf250f458ca4ad44f4fab495da4782626efff70dcfe0f3029d49 SHA512 e19b834db4920db6b466662a8c001ecaad7a7bee6c4faef871bbc3f528e10b0b4c9fc6f3ac065953ce625db0ede98d76536cf3158b4fb241725115febb141946
+DIST kubernetes-1.18.15.tar.gz 32665949 BLAKE2B 7a99a5fdbc51bb89fe5c61eb35b7d89eca0fa7e1e797787e793b1a2a29a399dc3f6a74be866d3699ec150a0257d8b0a55e9a2e73a67a552ea963129ca85c149b SHA512 bbe18742323ce66a4e8c40ae906e0ac18ff1fdc89f64ee43777e4dbe762f06d4f27b9152e06d985a58574b3c7e518cd103390f5dc7f2f593a046d0e887671a30
DIST kubernetes-1.19.6.tar.gz 33470206 BLAKE2B ea7614da380ce7c834884d96b37753802eb4919b4fb274dabf0d38f0438039c90ab1fccc86e0d8f665c15ae61f1d3f6ce4d400782ed580033cfd58390cd50617 SHA512 d7c6db2fa399b04a3acae792546fa0384e6b3a3e5eaa2c1ba6c49d656da0197f5be3d009756313436816f3839825c66ce23a06a1ec35c37f1c3fcfba79f9ac32
DIST kubernetes-1.20.1.tar.gz 34424663 BLAKE2B 156482f88f051eeea0c428c357a79d876ff0ce5f8ed6eb1ffa72be83bff45b72970280fa1bc7629804c178b9fa45ad84a9961a4f0e7eca1b58351fc7d7f4cfc0 SHA512 40598999cc5c96c54591338eb985bc056892ef2f98cfb521ff26937fa29f63a20e97f52a8454433ff98614d579509b7a5e927edcd96f4725505a334a999c0326
diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.18.15.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.18.15.ebuild
new file mode 100644
index 000000000000..25099739497e
--- /dev/null
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.18.15.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 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"
+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.14*"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ emake -j1 GOFLAGS="" GOLDFLAGS="" 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}
+}