summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2021-03-19 11:19:48 -0500
committerWilliam Hubbs <williamh@gentoo.org>2021-03-19 11:19:48 -0500
commitdc73f9e3c19ea504b593f2a004260cb1d3333a43 (patch)
treeb686dd6c0561f191a0f39b1f74c608f05ec9d471 /sys-cluster/kubelet
parentsys-cluster/kubectl: 1.18.17 bump (diff)
downloadgentoo-dc73f9e3c19ea504b593f2a004260cb1d3333a43.tar.gz
gentoo-dc73f9e3c19ea504b593f2a004260cb1d3333a43.tar.bz2
gentoo-dc73f9e3c19ea504b593f2a004260cb1d3333a43.zip
sys-cluster/kubelet: 1.18.17 bump
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster/kubelet')
-rw-r--r--sys-cluster/kubelet/Manifest1
-rw-r--r--sys-cluster/kubelet/kubelet-1.18.17.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest
index 7928049a3ff1..40206e7ab4c1 100644
--- a/sys-cluster/kubelet/Manifest
+++ b/sys-cluster/kubelet/Manifest
@@ -1,3 +1,4 @@
DIST kubernetes-1.18.16.tar.gz 32675639 BLAKE2B 825ccd4c275d52e1d7d24ffce19d5d9ea8314d2ea57746cce5cce165c314cff67f5fbc6678ab1fa9e0d81d6a086fad6a084d11d2b3757fe3a71f3298df960815 SHA512 f525577f0e55736c6702663c9de9a54e7ece5701f334948ec56b2d0d5041e54b5fdc440dfbfede5e886c2b30c2223eba4d2da7131e58c48043cfa75513f7f59f
+DIST kubernetes-1.18.17.tar.gz 32689483 BLAKE2B 2310419636078610ceb9f3233846f043c7af8f8ecf65e4129666e0835e5a328be57adb31603c98a2753444fd32cc0c0cc444bdbb6c4c1558743e7f45fbb68ef0 SHA512 5d8ae2fb8a962b8a09b58667d57114a4c75c2b7ae75c9ba0f8b68fccd0f58a3cdb44288a71fbd2f528fe93e280c6b95ea57fe0bbf1b2203aec9fd39fc7fd3f79
DIST kubernetes-1.19.8.tar.gz 33500610 BLAKE2B 2d86519b056f6dcacbaf368af34e66754a25fb84fc981a5c9d6ddea0f95f87fa61b36afe9ee8d80381084cb5f0018c36671e7d08e8a27b7bf334858800172da4 SHA512 0cefbe0cd29ee3916867549f2aa2a4eb60f87c9fc0fa4bae3748cc4eadd76685f868a9e30a50af092f55c0942bbd5e30648021ec0781afdcdd5f8d4014724c64
DIST kubernetes-1.20.4.tar.gz 34447775 BLAKE2B b38d55023a750da0f04df69548523832ac6b41b1ca1bac2e04cfb4d2c84233fd6adfc55912b39986428f6af8bd64f8e0ec5f12a560ed66c29eca8befef595491 SHA512 e10784a9920af8480cdd2dbcca65c8502034365e224ef8fa822633f0d480fecaca25e5b6d97743c83527729a2e200509dda38c421cbd7b286fec7500226df631
diff --git a/sys-cluster/kubelet/kubelet-1.18.17.ebuild b/sys-cluster/kubelet/kubelet-1.18.17.ebuild
new file mode 100644
index 000000000000..2fff8bd0167b
--- /dev/null
+++ b/sys-cluster/kubelet/kubelet-1.18.17.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module systemd
+
+DESCRIPTION="Kubernetes Node Agent"
+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"
+
+RDEPEND="!sys-cluster/kubernetes"
+
+RESTRICT+=" test "
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+ dobin _output/bin/${PN}
+ keepdir /etc/kubernetes/manifests /var/log/kubelet /var/lib/kubelet
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${PN}.logrotated ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+ insinto /etc/kubernetes
+ newins "${FILESDIR}"/${PN}.env ${PN}.env
+}