diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-03-15 00:29:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-03-15 00:29:11 +0000 |
commit | bcdfc870ecd1de7eea04df21ec3a069328b2e29f (patch) | |
tree | 9d01787ebec0b4f31b72866fbd078d3f0b27fa11 /sys-cluster | |
parent | 37185a5f2fd3d3e821d63ca90dffe9629d147da1 (diff) |
gentoo auto-resync : 15:03:2025 - 00:29:11
Diffstat (limited to 'sys-cluster')
19 files changed, 368 insertions, 0 deletions
diff --git a/sys-cluster/Manifest.gz b/sys-cluster/Manifest.gz Binary files differindex 2f816e1c6b69..50f23185daa9 100644 --- a/sys-cluster/Manifest.gz +++ b/sys-cluster/Manifest.gz diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest index 7e163ab7045e..5123b81f5b91 100644 --- a/sys-cluster/kube-apiserver/Manifest +++ b/sys-cluster/kube-apiserver/Manifest @@ -1,6 +1,7 @@ AUX kube-apiserver.confd 116 BLAKE2B 2cf2dff516674ba4dc0763985a070b75e23f9af51e7334eedcb2593855e7481d5969ed458d322ac29de0e9a9c7f9f041911ee7aeca750ff77ce04fd60bf3a3d3 SHA512 302b2a7ec715967c0aa7d1c177d4e55b26e37ebba8d04dd37ecf627d20042fe91cd7e6192ff9d71422129b0ea54a9eec6046f505af550548bd450998924f37ee AUX kube-apiserver.initd 541 BLAKE2B ddddc86735a9f90a0c232f2631ac21c028045783c737d041a808fb5012522844614a40059524c472b9b50fd077253b75e2bcf33d69518d71428fcb7e27143fba SHA512 2863ad6d1d238b5e9557874cd3f5413108ed9424604cf026e2fd8c2fd66ba867ca9a3d98f67fdac54f335bacddf0479547b28f71aaa1db6580beff49290de110 AUX kube-apiserver.logrotated 88 BLAKE2B e58f3f108f5f7dbbadacfcc1b401567ce79d511a4623f85f01830c5e40d4ad4e44fe0b3f90d4143042d82bd83b0a2b11517e89037755ef2ad7afeeb23401bb60 SHA512 1a4bcd54dafaedc614e34bbadc2a1163f003b5925d47552fb2c47049c033c147e612171e263d9659d189fc2d95688a0b7153322d8dba97c083c079fdef6c400e +AUX kube-apiserver.service 407 BLAKE2B ec43b3bcf66862754612f74824b945bf2b274d00804aaf79398558207a41f5f62434c497a158c40b0f28b7328d431e30f53a748a5d11821989b4fb1469776b51 SHA512 7ddc34b2fd8be806f9ee60efa6c51c0f711235694c2cbd02a54ca30b765b33977e1693b3db823c169baf5d6fd1edefe5d6381caf0ed28e78ad6d638c9aadd867 DIST kubernetes-1.29.13.tar.gz 41213750 BLAKE2B 315e2470fa078edf123fc6c4c691d781fdcce0353ddfef83132a36291979e7a4098c725fa858cfeba0d6e310bc74c5c18027c9930d100e73a38abf29f98fe333 SHA512 7eb00c3b0352ed079b265e578267e3b8dbadda2ca3cc514857f524a90428224bdf71f67e4196986cb042b7310e0322b4e31454fd5d3f1bd21f43362de2dce6b4 DIST kubernetes-1.29.14.tar.gz 41220562 BLAKE2B 95e866c1f7a049d4c55752c7c5695103c32314373f47f9655890561a9bcfd04289dd2a4a42defe12a3b7f61c80afcb9cdb21a0d4b03d99d5c267d46e386bc027 SHA512 28351a292dafd6b9524e60c23f4ab1c3d011c9543dc3af5978f4e71ce7360475218fabe6c9c4f32c4dac5d5ccf70833054fe8e3e40f4c10d13afd6a8e93bf968 DIST kubernetes-1.30.10.tar.gz 39631578 BLAKE2B 79618686bffab500c2d4e2417044f86c295d287ef1c4aaf2df241ad145cd807c19cd52739b22a48dd162667ea90d30da5b5d1737d072e599c3cab60ce90dafc3 SHA512 63c892845a2130ebb21378266da3083b2b8fad2c24c0b999ce52d267e5a981960ea79619e451e48c5a0f1b0faee5dea0d693be417f2026a1bceee6e5ac4a4252 @@ -10,6 +11,7 @@ DIST kubernetes-1.31.5.tar.gz 36577053 BLAKE2B bda8223b667bbf9153b9c0d383715d565 DIST kubernetes-1.31.6.tar.gz 36582120 BLAKE2B f2b27c89d8a8fb442fcd7487af23016776c90ec9f2cfd0c699e7f82341ee2c5a21409347e1b782f4199becd5459ed5c96345c1726bfd5147499d7dfee21c2aa2 SHA512 cc27eedde442c185d9b08bbe25b1d7f189d93d0519b4d02ab47a711dc6345ac3c942cc82ede4026bd20fdabef71f8615df63d06ebd550c60acba6a595c4574b7 DIST kubernetes-1.32.1.tar.gz 36344641 BLAKE2B bd9c74dd30b257f70b8302d645754683df1202c3d7fa89a9966a0fc6c5f4b1daa1ddf7263848871d950a35626ae643575b45d6d960ad33ce209e69ad60167bb7 SHA512 060ebcd2b0b29391d9605cd059f2c5761f9f51c21e2bdd6d99f086e0e65f476c7d7dc3b4ad9b1507fe2c9d71e9ffbde2555ee67e2c2d7ba97d366af97f995322 DIST kubernetes-1.32.2.tar.gz 36352120 BLAKE2B 80e5792e86dab9a861238a50748e06f6f265f489f2ac703cd2306ed62855ecf44cdda750f519d47f82b58b4ff1254bcbe47ee25215a38360cab359d14fef75a9 SHA512 ec1102ec06e1789a1e2e9cc554b6c0dc0fbc811bb89d502e19dc8367f12a3f6ac4ba2731f1f3085bbc78ba144daaca95be6d1830ceddac512b0dac8608a5c45d +DIST kubernetes-1.32.3.tar.gz 36357402 BLAKE2B 084c653e9ee8e481508de6881e48bf852eb179769a7e8596c4b19f442d3b59291c2926e9b8d371aab7a5cc9b5cd7d66fbff342e57a8fc5dda2fb3cb299221ea0 SHA512 acc412079f45b9444a260c37cdb534abfc0618c413224e1e145eaa43504282e70a6d60cf863215e65e8310592ef6f7821168c38ea6c9af84e797027aee407147 EBUILD kube-apiserver-1.29.13.ebuild 1013 BLAKE2B 1ce48f553d1df61b84efdbf0542f258aee0eaaf9c8c840ae0979c5ec80470f0489be09c113299a8706063c71257d76c0543dcbcb0a411cd06df6e309b31cb28a SHA512 ad96a459bebaf34dd5dfb056d65ce497904c792bf76696764859fa55378ec261d672b757210c5aea63dd8dc6e32d338786d85dacc4da7acdd036b07b61d14f20 EBUILD kube-apiserver-1.29.14.ebuild 1014 BLAKE2B e83d5a5618bdc615def696a77b37b6090d24cbf50ca52c081dbd741a023598c61d447e4bda66d420647654a8a801b02eb24478e5694d6f56d88d146f594904a4 SHA512 0afed747a81ecbf224510449a902b1ea7f67e5e988973b3446bcd78a4d8a3a118796785f0fbd53e5f49f3ba7acf9023bac9a2cf60b05d0db84836a30f79cc73b EBUILD kube-apiserver-1.30.10.ebuild 1014 BLAKE2B 4aa07e382f5324b51c9c8d505f458964f5191b4c4cd17c23aa182a2a4a689d26223f88fc1aa221d5c18eb512e12e057602df0c1f85bbd085822f798545451a0d SHA512 cfe54f13e12da903dde3aaf7f27f7e61dbb67e76ebb35fcbe801f81eecb22e4b0866b2121fbcf5897f70a032c7388005acdc00e61e6bdcca6fecaecd97887bae @@ -19,4 +21,5 @@ EBUILD kube-apiserver-1.31.5.ebuild 1013 BLAKE2B e777f38da4117da954ec45f1460a3c3 EBUILD kube-apiserver-1.31.6.ebuild 1014 BLAKE2B 48dfab951e5771fbd7838faef250cc8144f72353f673abac7b75a70147e3953bea42a58af8b728beaaec60c396418cb602d55178cbd8081fcab91cc2b10f1300 SHA512 6e2a6df5032c7b8ab3edbef7b918ae8ba71badc701c8e00dc98d55ef59f5b346e488cce7cb478d634524fb25e4aebd84c3a5a9b406b86843095b8bc1525dc7dd EBUILD kube-apiserver-1.32.1.ebuild 988 BLAKE2B 4d06f9e6a365dc02ff716041e7fe5d968543fcbc989e3622306fd1888167fe57d1488b51790e0e99980811656ebafa0769cd737910b0a5c7df6367ecc5eaff38 SHA512 57a22fdb91f8572373be65151924e16d5c8984e7f63d74d01f98c18238c39a507fe7a1df23bbeb0faf3bced59a2ae211f5269b9fab7be591d32338dd40466571 EBUILD kube-apiserver-1.32.2.ebuild 988 BLAKE2B 4d06f9e6a365dc02ff716041e7fe5d968543fcbc989e3622306fd1888167fe57d1488b51790e0e99980811656ebafa0769cd737910b0a5c7df6367ecc5eaff38 SHA512 57a22fdb91f8572373be65151924e16d5c8984e7f63d74d01f98c18238c39a507fe7a1df23bbeb0faf3bced59a2ae211f5269b9fab7be591d32338dd40466571 +EBUILD kube-apiserver-1.32.3.ebuild 1067 BLAKE2B a9aaf86edb4c105aeee9e79f491d3d6c93f04cac2fb244e7766621ea9c1033b7c5661696165256f5e584a77e6a0c5d9d730dc08c78346858793fc6c0a41ef51e SHA512 7d0833be126ff2cf5a0b743797979c24340b514598924fcbc8a870850da353876428234a29c9fbcf8e29d2725522a53bc0517c521417ee0488103a460c0cf480 MISC metadata.xml 335 BLAKE2B d43f79bc4ff9bad895fc1c0617329cbc07e05d0e7eb8d251688c1f46c61e3360639e43d92f72e9eef0ba5b235f33f2b3ad1bf0f783854b5f9426af43d81c3502 SHA512 de4bf01133d4a117ea2bd21936d670598a30b89dca290a867c3ec4e8ed739aec4867c42504210291ed84add21e1aa100d7d2b565e4351c43bdf2fa906b72a4cb diff --git a/sys-cluster/kube-apiserver/files/kube-apiserver.service b/sys-cluster/kube-apiserver/files/kube-apiserver.service new file mode 100644 index 000000000000..a342d7d2c34e --- /dev/null +++ b/sys-cluster/kube-apiserver/files/kube-apiserver.service @@ -0,0 +1,15 @@ +[Unit] +Description=Kubernetes API Server +Documentation=https://kubernetes.io/docs/concepts/architecture/#kube-apiserver https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/ +After=docker.service +Requires=docker.service + +[Service] +ExecStart=/usr/bin/kube-apiserver +Restart=on-failure +KillMode=process +User=kube-apiserver +Group=kube-apiserver + +[Install] +WantedBy=multi-user.target diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.32.3.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.32.3.ebuild new file mode 100644 index 000000000000..9b58d1869a56 --- /dev/null +++ b/sys-cluster/kube-apiserver/kube-apiserver-1.32.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd + +DESCRIPTION="Kubernetes API server" +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" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="hardened" +RESTRICT="test" + +DEPEND=" + acct-group/kube-apiserver + acct-user/kube-apiserver" +RDEPEND="${DEPEND}" +BDEPEND=">=dev-lang/go-1.23.3" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fNO-PIC ' '')" FORCE_HOST_GO="yes" \ + emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN} +} + +src_install() { + dobin _output/bin/${PN} + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + systemd_dounit "${FILESDIR}"/${PN}.service + insinto /etc/logrotate.d + newins "${FILESDIR}"/${PN}.logrotated ${PN} + keepdir /var/log/${PN} + fowners ${PN}:${PN} /var/log/${PN} +} diff --git a/sys-cluster/kube-controller-manager/Manifest b/sys-cluster/kube-controller-manager/Manifest index 17a0fe1701a9..18e71c3bdc30 100644 --- a/sys-cluster/kube-controller-manager/Manifest +++ b/sys-cluster/kube-controller-manager/Manifest @@ -1,6 +1,7 @@ AUX kube-controller-manager.confd 142 BLAKE2B d8d35c62bf5c04cc3f440e8b5fb8acab2cf815b25ac4e91354e3fce756a1955e71ec762fab1091074ef4233fff22667aba50417c0d6a896055f8f52b6630bb4e SHA512 b0227a7431018a6742b3931fda0f14b4a040107ecd6821c84593180919ba8a5af9b99b7a507645a5488792f14accd686acc4cc6f70a5084bbdfcdd494021aafc AUX kube-controller-manager.initd 566 BLAKE2B c632b9bc357aead53a2c181af50201b544f214921672e60fffa2d6f77dbeb1912b3d1d138f867d8118cef5ae0843b75d3859ebfc71a4defc2b4cf66426a58101 SHA512 7e3baab9b034e7048ed3cda8d09444c76369874cecc0a747fb5484c482fef464adb5ccc25fcb4481fb4aff68415a60462f6cbee2138810316f0cf822637676c1 AUX kube-controller-manager.logrotated 97 BLAKE2B 00827bf3c3c68c978dc30839318dcdd9ca73e64a38d377168cca75de4764dbd303cdae35fe2c5f6ddded23c7c72976d274e1def66f48a81548e0561411879984 SHA512 e00cd9297d8ac75fcd504a2bfb80d5c5e145e7d475dd15edf9361dc28721afdc069c5b6e79438b75a774e972028841a17e8f7842dcfb3d7835c436a3e503704c +AUX kube-controller-manager.service 468 BLAKE2B fd8276fa5667179c062afdceaa699737a1a26429b93683701795b08cbda7e3be56aebac1d324ee64ff225b4d34b172351990ade0526446c15fd8df8bdf2402f2 SHA512 c8387eb62cd7576c5ef5cd28605959f24e8530b3ee225bbb02f49a7762e81e03d46f68848fe2a46df1198f40ff8eef0a5dac9c89720d485aa41687e48ea5a973 DIST kubernetes-1.29.13.tar.gz 41213750 BLAKE2B 315e2470fa078edf123fc6c4c691d781fdcce0353ddfef83132a36291979e7a4098c725fa858cfeba0d6e310bc74c5c18027c9930d100e73a38abf29f98fe333 SHA512 7eb00c3b0352ed079b265e578267e3b8dbadda2ca3cc514857f524a90428224bdf71f67e4196986cb042b7310e0322b4e31454fd5d3f1bd21f43362de2dce6b4 DIST kubernetes-1.29.14.tar.gz 41220562 BLAKE2B 95e866c1f7a049d4c55752c7c5695103c32314373f47f9655890561a9bcfd04289dd2a4a42defe12a3b7f61c80afcb9cdb21a0d4b03d99d5c267d46e386bc027 SHA512 28351a292dafd6b9524e60c23f4ab1c3d011c9543dc3af5978f4e71ce7360475218fabe6c9c4f32c4dac5d5ccf70833054fe8e3e40f4c10d13afd6a8e93bf968 DIST kubernetes-1.30.10.tar.gz 39631578 BLAKE2B 79618686bffab500c2d4e2417044f86c295d287ef1c4aaf2df241ad145cd807c19cd52739b22a48dd162667ea90d30da5b5d1737d072e599c3cab60ce90dafc3 SHA512 63c892845a2130ebb21378266da3083b2b8fad2c24c0b999ce52d267e5a981960ea79619e451e48c5a0f1b0faee5dea0d693be417f2026a1bceee6e5ac4a4252 @@ -10,6 +11,7 @@ DIST kubernetes-1.31.5.tar.gz 36577053 BLAKE2B bda8223b667bbf9153b9c0d383715d565 DIST kubernetes-1.31.6.tar.gz 36582120 BLAKE2B f2b27c89d8a8fb442fcd7487af23016776c90ec9f2cfd0c699e7f82341ee2c5a21409347e1b782f4199becd5459ed5c96345c1726bfd5147499d7dfee21c2aa2 SHA512 cc27eedde442c185d9b08bbe25b1d7f189d93d0519b4d02ab47a711dc6345ac3c942cc82ede4026bd20fdabef71f8615df63d06ebd550c60acba6a595c4574b7 DIST kubernetes-1.32.1.tar.gz 36344641 BLAKE2B bd9c74dd30b257f70b8302d645754683df1202c3d7fa89a9966a0fc6c5f4b1daa1ddf7263848871d950a35626ae643575b45d6d960ad33ce209e69ad60167bb7 SHA512 060ebcd2b0b29391d9605cd059f2c5761f9f51c21e2bdd6d99f086e0e65f476c7d7dc3b4ad9b1507fe2c9d71e9ffbde2555ee67e2c2d7ba97d366af97f995322 DIST kubernetes-1.32.2.tar.gz 36352120 BLAKE2B 80e5792e86dab9a861238a50748e06f6f265f489f2ac703cd2306ed62855ecf44cdda750f519d47f82b58b4ff1254bcbe47ee25215a38360cab359d14fef75a9 SHA512 ec1102ec06e1789a1e2e9cc554b6c0dc0fbc811bb89d502e19dc8367f12a3f6ac4ba2731f1f3085bbc78ba144daaca95be6d1830ceddac512b0dac8608a5c45d +DIST kubernetes-1.32.3.tar.gz 36357402 BLAKE2B 084c653e9ee8e481508de6881e48bf852eb179769a7e8596c4b19f442d3b59291c2926e9b8d371aab7a5cc9b5cd7d66fbff342e57a8fc5dda2fb3cb299221ea0 SHA512 acc412079f45b9444a260c37cdb534abfc0618c413224e1e145eaa43504282e70a6d60cf863215e65e8310592ef6f7821168c38ea6c9af84e797027aee407147 EBUILD kube-controller-manager-1.29.13.ebuild 1012 BLAKE2B dad6175ce9d2eb425267a25b0183b17c40275ece1e8973b09156a38c7fd9dac886680bcd7a5211b7505ca365e0668bcc718f827cac3467652e9bf1170561c966 SHA512 bacf23e84f2c400ce55cb026bd14bca1d13c320ffd898c65abb8d007ea8b1427ecb114e89a13a42d9d2931df6894ff20b5d5137d135b2de86402d5a2b5eb770f EBUILD kube-controller-manager-1.29.14.ebuild 1013 BLAKE2B 58629a0fa1cac64fbd8216d4f2d8c7ce3bb9ef141245178c179268129496b898cbc04c1e39aa0c406f3a75dff2c976ac047eeda3eecbf12fd6241c0edc020397 SHA512 a16400010b81f5c83c99cf0bcb095278eab7a433db828684ac5c29c613042a58fc7b13276b96859f9a2a957c3c1d6cb1052a792cc4daea4332a8367657a5a786 EBUILD kube-controller-manager-1.30.10.ebuild 1013 BLAKE2B 3c24e4eb7bf43908c8be47b81a046df913b887d518fe1eba43d24625be75bd999536363880985a0ae91027779ee570d3f567179c83216c97bf67acca7e77f0a8 SHA512 e870f1bb7d36a894761df605f32225159a0f0bd20e503a281b66c540cd38080486c3ad7d4d6f8abf08ee170add7eb30c0f286c85a800b3b2a468f547cb68e55f @@ -19,4 +21,5 @@ EBUILD kube-controller-manager-1.31.5.ebuild 1012 BLAKE2B e2861e39e739dc8ca6756d EBUILD kube-controller-manager-1.31.6.ebuild 1013 BLAKE2B 5bc5c47f4007dbabab749f7baf46601f176e204a725309341c4c727cf42dee1929fe1dde151344d9a05b1bc2bf31c58f22829e5b128f53ac244ee3397daef76f SHA512 39f377ebc52dff306bbab23ca47c61cdef85b004d47461550897af349b7f1b4c9119ba6bfe0d443408f71a42cafd2575ad28eed6849e6389108c2527547c8873 EBUILD kube-controller-manager-1.32.1.ebuild 1014 BLAKE2B 0f08c26175bb6217ffe5e8642b721b4c16eda715e4b6bf28008e9975cea9053e16bbdc0932050dbd98f58ec81534a3dbc89014ae18aed6cea391408c70ce4439 SHA512 5ac402eb2e6f5df50a16f657701c6732b1a4619ec45c461085970c5cd537b445b8f41c6aa99d30d846265f4008607445dddbe73821d61045777e6502347399eb EBUILD kube-controller-manager-1.32.2.ebuild 1014 BLAKE2B 0f08c26175bb6217ffe5e8642b721b4c16eda715e4b6bf28008e9975cea9053e16bbdc0932050dbd98f58ec81534a3dbc89014ae18aed6cea391408c70ce4439 SHA512 5ac402eb2e6f5df50a16f657701c6732b1a4619ec45c461085970c5cd537b445b8f41c6aa99d30d846265f4008607445dddbe73821d61045777e6502347399eb +EBUILD kube-controller-manager-1.32.3.ebuild 1093 BLAKE2B 1db3be4e3ee5e1eb0b0c1c1a0b5fa5e4ab320ea806e865e3d4f0bb862363a81ee5854421c355237d1ee8f30b3d09991e66e905459b3a579ba6f50504e28a772f SHA512 d6427406019ee820de724516d1a2c54499d2cea5bce8b951946fba6d2f1f651d013615612bd58eeb18cc830063f73786994bf0d5b1249e359fabea1640aa3143 MISC metadata.xml 335 BLAKE2B d43f79bc4ff9bad895fc1c0617329cbc07e05d0e7eb8d251688c1f46c61e3360639e43d92f72e9eef0ba5b235f33f2b3ad1bf0f783854b5f9426af43d81c3502 SHA512 de4bf01133d4a117ea2bd21936d670598a30b89dca290a867c3ec4e8ed739aec4867c42504210291ed84add21e1aa100d7d2b565e4351c43bdf2fa906b72a4cb diff --git a/sys-cluster/kube-controller-manager/files/kube-controller-manager.service b/sys-cluster/kube-controller-manager/files/kube-controller-manager.service new file mode 100644 index 000000000000..fe187f632963 --- /dev/null +++ b/sys-cluster/kube-controller-manager/files/kube-controller-manager.service @@ -0,0 +1,15 @@ +[Unit] +Description=Kubernetes Controller Manager service +Documentation=https://kubernetes.io/docs/concepts/architecture/#kube-controller-manager https://kubernetes.io/docs/reference/command-line-tools-reference/kube-controller-manager/ +After=docker.service +Requires=docker.service + +[Service] +ExecStart=/usr/bin/kube-controller-manager +Restart=on-failure +KillMode=process +User=kube-controller-manager +Group=kube-controller-manager + +[Install] +WantedBy=multi-user.target diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.32.3.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.32.3.ebuild new file mode 100644 index 000000000000..115c08143f25 --- /dev/null +++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.32.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd + +DESCRIPTION="Kubernetes Controller Manager" +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" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="hardened" +RESTRICT="test" + +DEPEND="acct-group/kube-controller-manager + acct-user/kube-controller-manager" +RDEPEND="${DEPEND}" +BDEPEND=">=dev-lang/go-1.23.3" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \ + WHAT=cmd/${PN} +} + +src_install() { + dobin _output/bin/${PN} + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + systemd_dounit "${FILESDIR}"/${PN}.service + insinto /etc/logrotate.d + newins "${FILESDIR}"/${PN}.logrotated ${PN} + keepdir /var/log/${PN} + fowners ${PN}:${PN} /var/log/${PN} +} diff --git a/sys-cluster/kube-proxy/Manifest b/sys-cluster/kube-proxy/Manifest index fd1945885653..f000fa6fed76 100644 --- a/sys-cluster/kube-proxy/Manifest +++ b/sys-cluster/kube-proxy/Manifest @@ -1,6 +1,7 @@ AUX kube-proxy.confd 53 BLAKE2B 0cd5fc844dc21f63786ef21d972210ac02ea55165b05cef8810268f894e3466cea4d82c7882e56d6a0bf425311adbf6a55e3e3fe351b9a1a7ce1d9e1e087018b SHA512 4c8c34ae8668bcfa5167c2d2af006fc46b461a5dafb3ec5b64cb8cdf2a830c22ddb5cf806c93b1404f60dabf91b4153724947fa2d2c494376f20e637eeed5018 AUX kube-proxy.initd 507 BLAKE2B 96697ce13e03c0a541bd8e7a3dc28a1c5647067d3bffe464d672d00ecf5b5fffd349a6affcd8ae3ea0ba06160be72f31cfa2d918c01050e83640fb9956917dc0 SHA512 088d91cd77e614f7857d65496f5b6d486741a8e3358b3e13bcd4203d35a76fa3aa390f658065e2826145525b6e83fcd33f8365a873e99b522f3ab7e8615ed364 AUX kube-proxy.logrotated 84 BLAKE2B d1a37cac3891f131b605edfe569ed545445d6993528059b11b4a8d20d0c958abbab8d7c6acfc7a9e0f17c64ac7f19ef2b4954ff475bededf406e718d04261d59 SHA512 7842a4585aaf9b7be0fac89dca58874354453fc6f17f00223c04aad2211217531ae6a942424a8a112808dcf9e52a499c4879730e435d2ad08931516c66d5441d +AUX kube-proxy.service 357 BLAKE2B 4f05a480e993e1aa9958e45256f086dca736736fea391eb170a41137b0bb78388490684f2c5cbe5b316a289c190db37c5e7b5e87c0fedacfbb20d6b36ab4c30b SHA512 7f06f9c71edb9d31987ccccc98c86bd6825079257e636176adf420e9578a609cbf77dddf0fae9f0c518f555e24140c5247ab4ace95eba456b0e4c41ea93d588b DIST kubernetes-1.29.13.tar.gz 41213750 BLAKE2B 315e2470fa078edf123fc6c4c691d781fdcce0353ddfef83132a36291979e7a4098c725fa858cfeba0d6e310bc74c5c18027c9930d100e73a38abf29f98fe333 SHA512 7eb00c3b0352ed079b265e578267e3b8dbadda2ca3cc514857f524a90428224bdf71f67e4196986cb042b7310e0322b4e31454fd5d3f1bd21f43362de2dce6b4 DIST kubernetes-1.29.14.tar.gz 41220562 BLAKE2B 95e866c1f7a049d4c55752c7c5695103c32314373f47f9655890561a9bcfd04289dd2a4a42defe12a3b7f61c80afcb9cdb21a0d4b03d99d5c267d46e386bc027 SHA512 28351a292dafd6b9524e60c23f4ab1c3d011c9543dc3af5978f4e71ce7360475218fabe6c9c4f32c4dac5d5ccf70833054fe8e3e40f4c10d13afd6a8e93bf968 DIST kubernetes-1.30.10.tar.gz 39631578 BLAKE2B 79618686bffab500c2d4e2417044f86c295d287ef1c4aaf2df241ad145cd807c19cd52739b22a48dd162667ea90d30da5b5d1737d072e599c3cab60ce90dafc3 SHA512 63c892845a2130ebb21378266da3083b2b8fad2c24c0b999ce52d267e5a981960ea79619e451e48c5a0f1b0faee5dea0d693be417f2026a1bceee6e5ac4a4252 @@ -10,6 +11,7 @@ DIST kubernetes-1.31.5.tar.gz 36577053 BLAKE2B bda8223b667bbf9153b9c0d383715d565 DIST kubernetes-1.31.6.tar.gz 36582120 BLAKE2B f2b27c89d8a8fb442fcd7487af23016776c90ec9f2cfd0c699e7f82341ee2c5a21409347e1b782f4199becd5459ed5c96345c1726bfd5147499d7dfee21c2aa2 SHA512 cc27eedde442c185d9b08bbe25b1d7f189d93d0519b4d02ab47a711dc6345ac3c942cc82ede4026bd20fdabef71f8615df63d06ebd550c60acba6a595c4574b7 DIST kubernetes-1.32.1.tar.gz 36344641 BLAKE2B bd9c74dd30b257f70b8302d645754683df1202c3d7fa89a9966a0fc6c5f4b1daa1ddf7263848871d950a35626ae643575b45d6d960ad33ce209e69ad60167bb7 SHA512 060ebcd2b0b29391d9605cd059f2c5761f9f51c21e2bdd6d99f086e0e65f476c7d7dc3b4ad9b1507fe2c9d71e9ffbde2555ee67e2c2d7ba97d366af97f995322 DIST kubernetes-1.32.2.tar.gz 36352120 BLAKE2B 80e5792e86dab9a861238a50748e06f6f265f489f2ac703cd2306ed62855ecf44cdda750f519d47f82b58b4ff1254bcbe47ee25215a38360cab359d14fef75a9 SHA512 ec1102ec06e1789a1e2e9cc554b6c0dc0fbc811bb89d502e19dc8367f12a3f6ac4ba2731f1f3085bbc78ba144daaca95be6d1830ceddac512b0dac8608a5c45d +DIST kubernetes-1.32.3.tar.gz 36357402 BLAKE2B 084c653e9ee8e481508de6881e48bf852eb179769a7e8596c4b19f442d3b59291c2926e9b8d371aab7a5cc9b5cd7d66fbff342e57a8fc5dda2fb3cb299221ea0 SHA512 acc412079f45b9444a260c37cdb534abfc0618c413224e1e145eaa43504282e70a6d60cf863215e65e8310592ef6f7821168c38ea6c9af84e797027aee407147 EBUILD kube-proxy-1.29.13.ebuild 927 BLAKE2B af10f284e7e5218c02d941689e723afa51641df29e077bf8d9be35df16ae4713911d748c5383698c5b055dd0f5237fb37366929b4aa4c9f93e2d0610e2de1db3 SHA512 74eb266792a1bd493b5f388cb93f0d37a34d98a53b1de00fa2c973d2b19147d69e433c3637b88933fab41220af5af850f8114dc59a87c07a60262bce7ae62461 EBUILD kube-proxy-1.29.14.ebuild 928 BLAKE2B d27a59a0cc56b6f90db5075dbbd0ab005db72e30570ae07630d49238415276545706239348f8057cdb76aa9dcc2c311a4637d2930d38f98dffa5ddce4d9349fb SHA512 c0bc3028d9de38ddb12fbe11045a9ea8514680abf35181b580175d50905cfe8ce25d0d4814f151ffe1c52e834f209895c89281bb3e5a7156d6aebb486d61020e EBUILD kube-proxy-1.30.10.ebuild 928 BLAKE2B 9aa2470ad1a252a8255d1fa2ae7e2193b293e60a5565c16f22494cee8fc8d52eb80593ef3f54d998db2482afed4eae903cb7ec012ce14047d7d183c1366a10b4 SHA512 94c5d9933ae7257cd7b65d6a60ccc7cac6ba45b30d5ac2ebe6579d4416058cf2597a974231deab2b501a3b42e3378acc1ca6ad3749cbc40eb00b45281a25d856 @@ -19,4 +21,5 @@ EBUILD kube-proxy-1.31.5.ebuild 927 BLAKE2B 5fba37b41f4e02912344ab925ee3f7df3fcd EBUILD kube-proxy-1.31.6.ebuild 928 BLAKE2B 46a431f740dff21333bae45b5a20e69488ed20ebabd7ce52456d7dbe168fd3edd3605e6a132555ce3d26da7ab6290abf393a305d283375c8ca1cdab1f41c92c4 SHA512 2970005b4a3a418eb761ef71789b382f0e41812fc234ff8eb499aed1af2ebfb7db5ab8028eae0b4f25f6619f3222a04fde3cde057210c559814a985ffe8b3913 EBUILD kube-proxy-1.32.1.ebuild 929 BLAKE2B a953d0d342d95074db2b1b96209379bc1381200954eb5e623c3af5945280f1b905d08c63331d4a30b3341651fb48fa4ecd71f11dbd16ce1c66dc8a6a2f002b1b SHA512 58340ee90ef58f754ec09769ea285d140d563c882bbd683b2e14ba88363be3611cde29fbb8205fbed059a1c0df9cd0e5c93d02c520500a1b15174aa8cc7bece4 EBUILD kube-proxy-1.32.2.ebuild 929 BLAKE2B a953d0d342d95074db2b1b96209379bc1381200954eb5e623c3af5945280f1b905d08c63331d4a30b3341651fb48fa4ecd71f11dbd16ce1c66dc8a6a2f002b1b SHA512 58340ee90ef58f754ec09769ea285d140d563c882bbd683b2e14ba88363be3611cde29fbb8205fbed059a1c0df9cd0e5c93d02c520500a1b15174aa8cc7bece4 +EBUILD kube-proxy-1.32.3.ebuild 1048 BLAKE2B 68d338069b4f21d72ab8b87965b06497a103667ca525c38745b0f6947c17ec3bcb70e25a5147f9bb236219945e635a54a112c919c310efdc9334a2208e0c354e SHA512 e146c910c730a2552632a942f89322952953a4bbe653c4765cebd63fef4821b91a1b1e235714b5809a31a6e3a73125ece1f2388539c3de84c84c67fe8103f5a0 MISC metadata.xml 335 BLAKE2B d43f79bc4ff9bad895fc1c0617329cbc07e05d0e7eb8d251688c1f46c61e3360639e43d92f72e9eef0ba5b235f33f2b3ad1bf0f783854b5f9426af43d81c3502 SHA512 de4bf01133d4a117ea2bd21936d670598a30b89dca290a867c3ec4e8ed739aec4867c42504210291ed84add21e1aa100d7d2b565e4351c43bdf2fa906b72a4cb diff --git a/sys-cluster/kube-proxy/files/kube-proxy.service b/sys-cluster/kube-proxy/files/kube-proxy.service new file mode 100644 index 000000000000..33d3e8840ac2 --- /dev/null +++ b/sys-cluster/kube-proxy/files/kube-proxy.service @@ -0,0 +1,13 @@ +[Unit] +Description=Kubernetes Proxy service +Documentation=https://kubernetes.io/docs/concepts/architecture/#kube-proxy https://kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/ +After=docker.service +Requires=docker.service + +[Service] +ExecStart=/usr/bin/kube-proxy +Restart=on-failure +KillMode=process + +[Install] +WantedBy=multi-user.target diff --git a/sys-cluster/kube-proxy/kube-proxy-1.32.3.ebuild b/sys-cluster/kube-proxy/kube-proxy-1.32.3.ebuild new file mode 100644 index 000000000000..f21e133d20bb --- /dev/null +++ b/sys-cluster/kube-proxy/kube-proxy-1.32.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd + +DESCRIPTION="Kubernetes Proxy service" +HOMEPAGE="https://github.com/kubernetes/kubernetes 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" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="hardened" +RESTRICT="test" + +RDEPEND="net-firewall/conntrack-tools" +BDEPEND=">=dev-lang/go-1.23.3" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \ + WHAT=cmd/${PN} +} + +src_install() { + dobin _output/bin/${PN} + keepdir /var/log/${PN} /var/lib/${PN} + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + systemd_dounit "${FILESDIR}"/${PN}.service + insinto /etc/logrotate.d + newins "${FILESDIR}"/${PN}.logrotated ${PN} +} diff --git a/sys-cluster/kube-scheduler/Manifest b/sys-cluster/kube-scheduler/Manifest index ab37750f83c3..31b802071430 100644 --- a/sys-cluster/kube-scheduler/Manifest +++ b/sys-cluster/kube-scheduler/Manifest @@ -1,6 +1,7 @@ AUX kube-scheduler.confd 133 BLAKE2B 6b88dfc011173f183a88a16d078cbb5d96d46c269129b483d650fd7dd63376e366825f483178c26e931db226478ce9d0b85412fc264d4d600a8232d0bac149e7 SHA512 d7326f34b26aaebf4b5c25a03abcff3bc3d397382ad4fed0f4718ee425e71399febf6fec6dc817813490671692d3f1b454fd5d14d9c47c3d41b0d3405a01a6c2 AUX kube-scheduler.initd 548 BLAKE2B dd9373f659b87fcf12dca20527aebdb304a60ec559fd9fb9efcd0db8b3c155fdba2ce8a59461cd15ed3b4294cc5b335093e12d2b8411e400927e1307b37bc6d8 SHA512 151ea6f5cc36de9b83f0e5365579e33eea8002f9a03f5f61d195a349236e6baf192f701d3fb591b769aa90e8e1e620d525b20c95a1e8cda58d062971d8f587a3 AUX kube-scheduler.logrotated 88 BLAKE2B af29a5ba84cb29787b17368105c793868a2e61a28e9a5b02361cf4833982d4489364bd1291faa136df275988f02ce78c7b785c9209a54aec5eea6180b9041da0 SHA512 3692da349dd6ed0f5acc09d7b95ac562ffecb103e2270bebdfe4a7808d48dada9d2debff262d85b11c47f9ca3f0c20000712d03629ed813ff08a3e02d69267e6 +AUX kube-scheduler.service 414 BLAKE2B 4b49be0a1c85c1348960e631cd6ac9be3c4ee02b459a0094e56534b0310d1dc103ccc32787cd943f1bade234e184f06071ae87e43385521066e479830dc50412 SHA512 2ef0f35b843bee62377e5a4af7ce17db506c8e0c5e0d5115c5229d9b7b105005a7eb795210b8a8a41d077392e1bcc96d4c8a0513c1d41b58be23f78c939e9fb0 DIST kubernetes-1.29.13.tar.gz 41213750 BLAKE2B 315e2470fa078edf123fc6c4c691d781fdcce0353ddfef83132a36291979e7a4098c725fa858cfeba0d6e310bc74c5c18027c9930d100e73a38abf29f98fe333 SHA512 7eb00c3b0352ed079b265e578267e3b8dbadda2ca3cc514857f524a90428224bdf71f67e4196986cb042b7310e0322b4e31454fd5d3f1bd21f43362de2dce6b4 DIST kubernetes-1.29.14.tar.gz 41220562 BLAKE2B 95e866c1f7a049d4c55752c7c5695103c32314373f47f9655890561a9bcfd04289dd2a4a42defe12a3b7f61c80afcb9cdb21a0d4b03d99d5c267d46e386bc027 SHA512 28351a292dafd6b9524e60c23f4ab1c3d011c9543dc3af5978f4e71ce7360475218fabe6c9c4f32c4dac5d5ccf70833054fe8e3e40f4c10d13afd6a8e93bf968 DIST kubernetes-1.30.10.tar.gz 39631578 BLAKE2B 79618686bffab500c2d4e2417044f86c295d287ef1c4aaf2df241ad145cd807c19cd52739b22a48dd162667ea90d30da5b5d1737d072e599c3cab60ce90dafc3 SHA512 63c892845a2130ebb21378266da3083b2b8fad2c24c0b999ce52d267e5a981960ea79619e451e48c5a0f1b0faee5dea0d693be417f2026a1bceee6e5ac4a4252 @@ -10,6 +11,7 @@ DIST kubernetes-1.31.5.tar.gz 36577053 BLAKE2B bda8223b667bbf9153b9c0d383715d565 DIST kubernetes-1.31.6.tar.gz 36582120 BLAKE2B f2b27c89d8a8fb442fcd7487af23016776c90ec9f2cfd0c699e7f82341ee2c5a21409347e1b782f4199becd5459ed5c96345c1726bfd5147499d7dfee21c2aa2 SHA512 cc27eedde442c185d9b08bbe25b1d7f189d93d0519b4d02ab47a711dc6345ac3c942cc82ede4026bd20fdabef71f8615df63d06ebd550c60acba6a595c4574b7 DIST kubernetes-1.32.1.tar.gz 36344641 BLAKE2B bd9c74dd30b257f70b8302d645754683df1202c3d7fa89a9966a0fc6c5f4b1daa1ddf7263848871d950a35626ae643575b45d6d960ad33ce209e69ad60167bb7 SHA512 060ebcd2b0b29391d9605cd059f2c5761f9f51c21e2bdd6d99f086e0e65f476c7d7dc3b4ad9b1507fe2c9d71e9ffbde2555ee67e2c2d7ba97d366af97f995322 DIST kubernetes-1.32.2.tar.gz 36352120 BLAKE2B 80e5792e86dab9a861238a50748e06f6f265f489f2ac703cd2306ed62855ecf44cdda750f519d47f82b58b4ff1254bcbe47ee25215a38360cab359d14fef75a9 SHA512 ec1102ec06e1789a1e2e9cc554b6c0dc0fbc811bb89d502e19dc8367f12a3f6ac4ba2731f1f3085bbc78ba144daaca95be6d1830ceddac512b0dac8608a5c45d +DIST kubernetes-1.32.3.tar.gz 36357402 BLAKE2B 084c653e9ee8e481508de6881e48bf852eb179769a7e8596c4b19f442d3b59291c2926e9b8d371aab7a5cc9b5cd7d66fbff342e57a8fc5dda2fb3cb299221ea0 SHA512 acc412079f45b9444a260c37cdb534abfc0618c413224e1e145eaa43504282e70a6d60cf863215e65e8310592ef6f7821168c38ea6c9af84e797027aee407147 EBUILD kube-scheduler-1.29.13.ebuild 985 BLAKE2B 2f4305cc1560b76f12a4ace6211223360a57db6a85a67badc8d13a6fa2cab1ff5fe349f693441a42a3db6e35705454e0c1a97c52f7982d6e60dc4a886627555d SHA512 388afaefbbd24e012232bdda5b324a4beec67e84955f98b9eb96e31d6765e889870ca913e4b087052f8fde4b8df0a782a1f51b74d2279781e2774aa84866ba53 EBUILD kube-scheduler-1.29.14.ebuild 986 BLAKE2B 07b20b51ebac8453a8f1c96c71f515068b2415511a62f25c0c5295fe3bc3385682debfc1dac2558ae1d27bc52d5d435f0274025778aef85c354daacc1a7fa80c SHA512 f64e257074658ccfb46b040912d938bd7e1b80c2751bed8f7998b0b0cc3db1c4048b1800da7665ac0eb85f4c2491b322617e5c8763bb6669b0bb226577558940 EBUILD kube-scheduler-1.30.10.ebuild 986 BLAKE2B 7c959ce8c9ffadc7bac891f1af090a2edb09e5ab9b1d4b04977a0ec11643e43f573fbc4614c0a3cfcacb5996bb280ddccbff92eb1c016f10d3dd09e5227ea212 SHA512 8f2a47dad52d9e6f788e8ec40f7e42bb17fdf5d313f7a6163db1f48aeff5e0ebb90810f096242f1ff32ab6af0c2f799d403addf8cf383aa902864afd2b745d1e @@ -19,4 +21,5 @@ EBUILD kube-scheduler-1.31.5.ebuild 985 BLAKE2B 6f17cec6eb8fb0908887c4278fd8cdc6 EBUILD kube-scheduler-1.31.6.ebuild 986 BLAKE2B 14dd0f0ac8ecfb627a62d54f0606c56683bd3dbbfdee31e730e676931e856118553aec521f0bfa06d3b1fc585c05f2c487596de22915bef7268c903cc36e12ea SHA512 0ff367c46c839e068cebb948347ccbe3c7f0d80f896c3df06f978b2eaa0a63a57875e3fd87a07371a19d511c57ebd075320c3f59eca02392d0608f39ba431ab7 EBUILD kube-scheduler-1.32.1.ebuild 987 BLAKE2B 7af87696b49fdd6f29ce90464edbcb66caa6c4078ff5fe849384a91884f3fd9abd9cce6380ebfbb0859b1910b968a28d6bcdcf0a5e02a1a171147f7addcc28df SHA512 edcc741e957fbdcfcbff9afe4ef5b287c23479bb31ad3698e31cff90471d67a0da453e7e6d0d3aa5d4453f819a0196bca8d5a0a18b041669bb46132ee1a35cc5 EBUILD kube-scheduler-1.32.2.ebuild 987 BLAKE2B 7af87696b49fdd6f29ce90464edbcb66caa6c4078ff5fe849384a91884f3fd9abd9cce6380ebfbb0859b1910b968a28d6bcdcf0a5e02a1a171147f7addcc28df SHA512 edcc741e957fbdcfcbff9afe4ef5b287c23479bb31ad3698e31cff90471d67a0da453e7e6d0d3aa5d4453f819a0196bca8d5a0a18b041669bb46132ee1a35cc5 +EBUILD kube-scheduler-1.32.3.ebuild 1066 BLAKE2B b921b1daa828e00302e05db4412c847b520c3e4e94fb65621abe276b33448856167a18ead92ed326908d46b16704a0ce6e5d131a15adbfa1a71af2f73426b063 SHA512 55d97d1db2ee063a4585cbd373bd17a6fedbb7664eb7d675e8a258af70acd75015e624a3c06fdf043fe90a0858c3b55bdfd0b01185c4118db0b2aa86fa36c2de MISC metadata.xml 335 BLAKE2B d43f79bc4ff9bad895fc1c0617329cbc07e05d0e7eb8d251688c1f46c61e3360639e43d92f72e9eef0ba5b235f33f2b3ad1bf0f783854b5f9426af43d81c3502 SHA512 de4bf01133d4a117ea2bd21936d670598a30b89dca290a867c3ec4e8ed739aec4867c42504210291ed84add21e1aa100d7d2b565e4351c43bdf2fa906b72a4cb diff --git a/sys-cluster/kube-scheduler/files/kube-scheduler.service b/sys-cluster/kube-scheduler/files/kube-scheduler.service new file mode 100644 index 000000000000..80448cc7c700 --- /dev/null +++ b/sys-cluster/kube-scheduler/files/kube-scheduler.service @@ -0,0 +1,15 @@ +[Unit] +Description=Kubernetes Scheduler service +Documentation=https://kubernetes.io/docs/concepts/architecture/#kube-scheduler https://kubernetes.io/docs/reference/command-line-tools-reference/kube-scheduler/ +After=docker.service +Requires=docker.service + +[Service] +ExecStart=/usr/bin/kube-scheduler +Restart=on-failure +KillMode=process +User=kube-scheduler +Group=kube-scheduler + +[Install] +WantedBy=multi-user.target diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.32.3.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.32.3.ebuild new file mode 100644 index 000000000000..887cac163aeb --- /dev/null +++ b/sys-cluster/kube-scheduler/kube-scheduler-1.32.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd + +DESCRIPTION="Kubernetes Scheduler" +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" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="hardened" +RESTRICT="test" + +DEPEND="acct-group/kube-scheduler + acct-user/kube-scheduler" +RDEPEND="${DEPEND}" +BDEPEND=">=dev-lang/go-1.23.3" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \ + WHAT=cmd/${PN} +} + +src_install() { + dobin _output/bin/${PN} + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + systemd_dounit "${FILESDIR}"/${PN}.service + insinto /etc/logrotate.d + newins "${FILESDIR}"/${PN}.logrotated ${PN} + keepdir /var/log/${PN} + fowners ${PN}:${PN} /var/log/${PN} +} diff --git a/sys-cluster/kubeadm/Manifest b/sys-cluster/kubeadm/Manifest index 104f56194dbc..ac82f355b3da 100644 --- a/sys-cluster/kubeadm/Manifest +++ b/sys-cluster/kubeadm/Manifest @@ -7,6 +7,7 @@ DIST kubernetes-1.31.5.tar.gz 36577053 BLAKE2B bda8223b667bbf9153b9c0d383715d565 DIST kubernetes-1.31.6.tar.gz 36582120 BLAKE2B f2b27c89d8a8fb442fcd7487af23016776c90ec9f2cfd0c699e7f82341ee2c5a21409347e1b782f4199becd5459ed5c96345c1726bfd5147499d7dfee21c2aa2 SHA512 cc27eedde442c185d9b08bbe25b1d7f189d93d0519b4d02ab47a711dc6345ac3c942cc82ede4026bd20fdabef71f8615df63d06ebd550c60acba6a595c4574b7 DIST kubernetes-1.32.1.tar.gz 36344641 BLAKE2B bd9c74dd30b257f70b8302d645754683df1202c3d7fa89a9966a0fc6c5f4b1daa1ddf7263848871d950a35626ae643575b45d6d960ad33ce209e69ad60167bb7 SHA512 060ebcd2b0b29391d9605cd059f2c5761f9f51c21e2bdd6d99f086e0e65f476c7d7dc3b4ad9b1507fe2c9d71e9ffbde2555ee67e2c2d7ba97d366af97f995322 DIST kubernetes-1.32.2.tar.gz 36352120 BLAKE2B 80e5792e86dab9a861238a50748e06f6f265f489f2ac703cd2306ed62855ecf44cdda750f519d47f82b58b4ff1254bcbe47ee25215a38360cab359d14fef75a9 SHA512 ec1102ec06e1789a1e2e9cc554b6c0dc0fbc811bb89d502e19dc8367f12a3f6ac4ba2731f1f3085bbc78ba144daaca95be6d1830ceddac512b0dac8608a5c45d +DIST kubernetes-1.32.3.tar.gz 36357402 BLAKE2B 084c653e9ee8e481508de6881e48bf852eb179769a7e8596c4b19f442d3b59291c2926e9b8d371aab7a5cc9b5cd7d66fbff342e57a8fc5dda2fb3cb299221ea0 SHA512 acc412079f45b9444a260c37cdb534abfc0618c413224e1e145eaa43504282e70a6d60cf863215e65e8310592ef6f7821168c38ea6c9af84e797027aee407147 EBUILD kubeadm-1.29.13.ebuild 984 BLAKE2B 918c36bf927f7cb7ea8ba7c629fd5a1cb20f07c60f8718d1930e779e587eaabed512e7d6ab3cf8f3155896603f5eea2686b6a0668bd936ec99a8a7a9fb1a13d4 SHA512 8eb6769d56d82aeac75532b6bfaea4179aa651fae0b5d22f95c2cf7b879c4cba05880d9ac1e8d3090fe0f86f17136eb179c26897c36b58750b5badb828054e8e EBUILD kubeadm-1.29.14.ebuild 985 BLAKE2B e64e7c572c6b3b3eb20d4acfdc7f2a8d82171297da3f70a9a4e3c9cbfc60f162b05e70488c8cf7a0bc382a4b11a43b95d42b8e71e28789c5f5a1739c166be540 SHA512 b3ec8d19d0c38f0c55a4769c13a0b095512ee6148a567d242260dd48eb664490a3ccdbf290b145652256d039d849035c1febaec019dbe8a48d6f7f095545fb24 EBUILD kubeadm-1.30.10.ebuild 985 BLAKE2B c77af9beb2bc829ee8b06cd2aaac14711c9b59af5acafb12a5d95131a74eb183439668656f58662ab427a549050ed4dd9d07042ea567e7e11ec518a166e77b2a SHA512 befef6debc4681b897d5b67e4fc63f6ce3bfe2c65441d3e6fccaeabd34f1949688104ce93fd78d9e2d7c7d8b7a45a86a3a80ec92a7a2f01e8391a4d5e9f3cbb8 @@ -16,4 +17,5 @@ EBUILD kubeadm-1.31.5.ebuild 984 BLAKE2B 8ef0de0f4eda745edce98a368ad551710d4c748 EBUILD kubeadm-1.31.6.ebuild 985 BLAKE2B b88ae8c395fbd0ab490085813d004b668ea2bb0c9f5e5bbe72959f5ec83c64e92e83ffb0f09d79cc43f0e609d96abd64efd54385efe44137832f163703532c40 SHA512 ba0be3db568cb74ecdca83d72068a93efe228f48ba31e48469ee3aaee66513725b4f428b32d270efda7bcbc52b009e98a814d84aa71894cc4c4fc828bd405e2e EBUILD kubeadm-1.32.1.ebuild 987 BLAKE2B 0f381c8516a8a2de36a7d0c1c78028121c64831c6f6347b004049f568cf50eeeca0db4df103b63cb04df7727f013e82666a8a415a63ebf61de7535700263ab2d SHA512 7baa628ca5c07e8543cd40af6e6c12a6d76209d68c9e65094b44f61ecdbf554efb7bfc0df6f16e0db290262b3700138894913da623cc8e97306bb040ac527404 EBUILD kubeadm-1.32.2.ebuild 1254 BLAKE2B 7e26363438a3539543772bea658e804a64ba1a48d3fe0bec088f4b86cf6a7b20527c974060ff47caeaea97486f1e002a2a9b5db590a6be4e1f6349b300dbb4d9 SHA512 3ff6a743d050b8e51138569c867a384eb01ad068a9ba3b69ddd48eb556086b1069c0b545e9fe70bd169d431c41e29ce5c95b9528346298d7ffa5c1aeb3151fb4 +EBUILD kubeadm-1.32.3.ebuild 1262 BLAKE2B 2aa959d52c63cb17dfc5ee3b1d309e6e118afc8cc5a4e06045ca4667ab0878c413e3940b4909c32f17b832f926ba3facc4bd7458e10546a41e292d3bc521927d SHA512 b75fc531ef0f04ab3651d485f7f16a56364c32b9ff90ab610d5fd3f2980a83f00246c1a2b0434dd6157e536d18bd95a04c786f3429d0227180f81269ea276917 MISC metadata.xml 918 BLAKE2B 487a711e9aebe9d4d8f2c3a03664990aa544a4c0b969dbb60d10ebf42ca64cb9b21f822f92e774f3a813b409d5df905c8ecf02f186218f925a69f70b2960d53c SHA512 392d1cdf4179bc2aa14598e41e38e364518f0c71c34d61280729ae2cdab37c247112b48fcea58c792f6f7148e3979dfbff174bac3a3a00b7084168332112f5d3 diff --git a/sys-cluster/kubeadm/kubeadm-1.32.3.ebuild b/sys-cluster/kubeadm/kubeadm-1.32.3.ebuild new file mode 100644 index 000000000000..4f125279a7e2 --- /dev/null +++ b/sys-cluster/kubeadm/kubeadm-1.32.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module toolchain-funcs shell-completion + +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" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT" +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="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN} + + if ! tc-is-cross-compiler; then + elog "generating shell completion files" + _output/bin/${PN} completion bash > ${PN}.bash || die + _output/bin/${PN} completion zsh > ${PN}.zsh || die + fi +} + +src_install() { + dobin _output/bin/${PN} + + if ! tc-is-cross-compiler; then + newbashcomp ${PN}.bash ${PN} + newzshcomp ${PN}.zsh _${PN} + else + ewarn "Shell completion files not installed! Install them manually with '${PN} completion --help'" + fi +} diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest index c414df562c5d..19956bc69a71 100644 --- a/sys-cluster/kubectl/Manifest +++ b/sys-cluster/kubectl/Manifest @@ -7,6 +7,7 @@ DIST kubernetes-1.31.5.tar.gz 36577053 BLAKE2B bda8223b667bbf9153b9c0d383715d565 DIST kubernetes-1.31.6.tar.gz 36582120 BLAKE2B f2b27c89d8a8fb442fcd7487af23016776c90ec9f2cfd0c699e7f82341ee2c5a21409347e1b782f4199becd5459ed5c96345c1726bfd5147499d7dfee21c2aa2 SHA512 cc27eedde442c185d9b08bbe25b1d7f189d93d0519b4d02ab47a711dc6345ac3c942cc82ede4026bd20fdabef71f8615df63d06ebd550c60acba6a595c4574b7 DIST kubernetes-1.32.1.tar.gz 36344641 BLAKE2B bd9c74dd30b257f70b8302d645754683df1202c3d7fa89a9966a0fc6c5f4b1daa1ddf7263848871d950a35626ae643575b45d6d960ad33ce209e69ad60167bb7 SHA512 060ebcd2b0b29391d9605cd059f2c5761f9f51c21e2bdd6d99f086e0e65f476c7d7dc3b4ad9b1507fe2c9d71e9ffbde2555ee67e2c2d7ba97d366af97f995322 DIST kubernetes-1.32.2.tar.gz 36352120 BLAKE2B 80e5792e86dab9a861238a50748e06f6f265f489f2ac703cd2306ed62855ecf44cdda750f519d47f82b58b4ff1254bcbe47ee25215a38360cab359d14fef75a9 SHA512 ec1102ec06e1789a1e2e9cc554b6c0dc0fbc811bb89d502e19dc8367f12a3f6ac4ba2731f1f3085bbc78ba144daaca95be6d1830ceddac512b0dac8608a5c45d +DIST kubernetes-1.32.3.tar.gz 36357402 BLAKE2B 084c653e9ee8e481508de6881e48bf852eb179769a7e8596c4b19f442d3b59291c2926e9b8d371aab7a5cc9b5cd7d66fbff342e57a8fc5dda2fb3cb299221ea0 SHA512 acc412079f45b9444a260c37cdb534abfc0618c413224e1e145eaa43504282e70a6d60cf863215e65e8310592ef6f7821168c38ea6c9af84e797027aee407147 EBUILD kubectl-1.29.13.ebuild 897 BLAKE2B 30fb76dd6672a8bc357d51ae88753051a5ee681c10953a0ff61fe7a20ddc7a699bfc88a3920e0f3ca0f1fb0efcb1fc1aaa21b66cc953f0525ffc464dcf60ccea SHA512 78c9963297ce86d8e8d3a04f62f6dfc48f75c1179b72932cbb16d9b331ebefdedb3a340a51416e5aeb4c72a9eccbe6d99bafb6eed3be65de849af2347fe41bfe EBUILD kubectl-1.29.14.ebuild 898 BLAKE2B faacf95f5c30ebcbe646206e47a90592650a7357bfeab406c84183a0531ce0e2ca05aa2280236ff21765d01f40bfd1b8caf46d45cd970c95d5d3b660da159ec6 SHA512 e638c61dd65d4287e01b30df4c7c30b916399db27b21ce347b7933f76b050c3d7965a3103d587869d571c8915a0630988b8d5fd4bba743ed67d9fddf5bc7c3ac EBUILD kubectl-1.30.10.ebuild 898 BLAKE2B 970830eb764d8f7f85272ac2a67b5ffeaf3ea566c9f843b74f76005cc111cfd21c2d2c7c7be49451c2b491d87234140264b0b0724b70fca5093344732e8c7fc9 SHA512 daedbb01fdcc461807164a83518016d38fefb541108734d9d8db2b571e39d484afe91b37a9346b106c9359e5886bd5ab0ac45cfef543819a195e929fee354191 @@ -16,4 +17,5 @@ EBUILD kubectl-1.31.5.ebuild 897 BLAKE2B 0ebae477c78808f4d388c6747998f2544c757e8 EBUILD kubectl-1.31.6.ebuild 898 BLAKE2B 7186cd226100e472e9e4d65165098d3bd16ba48737686900948b690eed656c2a8aaad3b0fee2b8094cf42d898cc15c62b391bb6cd5c88ae2e1c6af9579e878c7 SHA512 1e2919bfd0f4f0caf3577edf24c4b7b52b1bae23dd218d583a621850a3d303112ac23045229327d14cf54942fba0f0059dc0d02d02862fe01e973ce84bd6c16c EBUILD kubectl-1.32.1.ebuild 898 BLAKE2B 406c6cdaf3811d5a1d720cf791d1a3e5007e99e90b55bc563a656620836b50a161d11bb7e3bacf07737ac7d6cb8e3073f7a1524ffa8348d410142e7bec1c8f2b SHA512 2f0fa73ebf5a6ce6d748e3f764f71932389ca52af53d7fd50e3fdde887b0471b10c0cfb613909015aa833224328fe902bf97b27d0171c424f1560a6efe85baf2 EBUILD kubectl-1.32.2.ebuild 899 BLAKE2B 3fe05bf87f7bcfbfe86b7143674ffee20e8599814452a16502acccaa849fc4b55bac2d7ad2d0cf030d1856e648911c75f81d89fd19858d7eb3a74c93d770cddb SHA512 d0e92caf1961ad28d6c3c95324cae50159f20f06541efbe413d37b8138c15c150d9e60c212c627526c5cc5f4c3994187d0baaa87c89fddda3d73f3310c51a5a7 +EBUILD kubectl-1.32.3.ebuild 1255 BLAKE2B 784f45030fb29b476bf75f3210f79995b6d2ac774fa1c3b9e4092b231e88cc82134c803ece7c60cf31a43d640da4d82cd5d3597bc92c726238f63f28fc16d968 SHA512 59b37a16fde8594b31e04491784669ea1816d532c2e714527b6d49ea3a5e886c08d662862dd9ea571869ed716a8c5b8838eaa4b08ebfa2b0bbecbe30cb3af2ec MISC metadata.xml 335 BLAKE2B d43f79bc4ff9bad895fc1c0617329cbc07e05d0e7eb8d251688c1f46c61e3360639e43d92f72e9eef0ba5b235f33f2b3ad1bf0f783854b5f9426af43d81c3502 SHA512 de4bf01133d4a117ea2bd21936d670598a30b89dca290a867c3ec4e8ed739aec4867c42504210291ed84add21e1aa100d7d2b565e4351c43bdf2fa906b72a4cb diff --git a/sys-cluster/kubectl/kubectl-1.32.3.ebuild b/sys-cluster/kubectl/kubectl-1.32.3.ebuild new file mode 100644 index 000000000000..d1278d2c7874 --- /dev/null +++ b/sys-cluster/kubectl/kubectl-1.32.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module toolchain-funcs shell-completion + +DESCRIPTION="CLI to run commands against Kubernetes clusters" +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" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="hardened" +RESTRICT="test" + +BDEPEND=">=dev-lang/go-1.23.3" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \ + WHAT=cmd/${PN} + + if ! tc-is-cross-compiler; then + elog "generating shell completion files" + _output/bin/${PN} completion bash > ${PN}.bash || die + _output/bin/${PN} completion zsh > ${PN}.zsh || die + _output/bin/${PN} completion fish > ${PN}.fish || die + fi +} + +src_install() { + dobin _output/bin/${PN} + + if ! tc-is-cross-compiler; then + newbashcomp ${PN}.bash ${PN} + newzshcomp ${PN}.zsh _${PN} + dofishcomp ${PN}.fish + else + ewarn "Shell completion files not installed! Install them manually with '${PN} completion --help'" + fi +} diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest index 56ee423be4d8..bf61c1b51457 100644 --- a/sys-cluster/kubelet/Manifest +++ b/sys-cluster/kubelet/Manifest @@ -12,6 +12,7 @@ DIST kubernetes-1.31.5.tar.gz 36577053 BLAKE2B bda8223b667bbf9153b9c0d383715d565 DIST kubernetes-1.31.6.tar.gz 36582120 BLAKE2B f2b27c89d8a8fb442fcd7487af23016776c90ec9f2cfd0c699e7f82341ee2c5a21409347e1b782f4199becd5459ed5c96345c1726bfd5147499d7dfee21c2aa2 SHA512 cc27eedde442c185d9b08bbe25b1d7f189d93d0519b4d02ab47a711dc6345ac3c942cc82ede4026bd20fdabef71f8615df63d06ebd550c60acba6a595c4574b7 DIST kubernetes-1.32.1.tar.gz 36344641 BLAKE2B bd9c74dd30b257f70b8302d645754683df1202c3d7fa89a9966a0fc6c5f4b1daa1ddf7263848871d950a35626ae643575b45d6d960ad33ce209e69ad60167bb7 SHA512 060ebcd2b0b29391d9605cd059f2c5761f9f51c21e2bdd6d99f086e0e65f476c7d7dc3b4ad9b1507fe2c9d71e9ffbde2555ee67e2c2d7ba97d366af97f995322 DIST kubernetes-1.32.2.tar.gz 36352120 BLAKE2B 80e5792e86dab9a861238a50748e06f6f265f489f2ac703cd2306ed62855ecf44cdda750f519d47f82b58b4ff1254bcbe47ee25215a38360cab359d14fef75a9 SHA512 ec1102ec06e1789a1e2e9cc554b6c0dc0fbc811bb89d502e19dc8367f12a3f6ac4ba2731f1f3085bbc78ba144daaca95be6d1830ceddac512b0dac8608a5c45d +DIST kubernetes-1.32.3.tar.gz 36357402 BLAKE2B 084c653e9ee8e481508de6881e48bf852eb179769a7e8596c4b19f442d3b59291c2926e9b8d371aab7a5cc9b5cd7d66fbff342e57a8fc5dda2fb3cb299221ea0 SHA512 acc412079f45b9444a260c37cdb534abfc0618c413224e1e145eaa43504282e70a6d60cf863215e65e8310592ef6f7821168c38ea6c9af84e797027aee407147 EBUILD kubelet-1.29.13.ebuild 1053 BLAKE2B cee3a3ab67fcf6ef7817f47db174a5ed2826515b35ec680d2bf08bbd59589c09b0c6efa0fc1e82f63a8602bcc6cf5b49bee8b1cb398ef5bb375ba4c171fde004 SHA512 24dfeeede827ada28bbd66884b89f52dabb96b47f1bf9e793e14dbdcdf8619bd84fa4a5519fb1764d897988a7a2baef81499e8a01aa31548f62579e88968ea8e EBUILD kubelet-1.29.14.ebuild 1054 BLAKE2B 571456efca35607fcffe72679b0fb4fe72a5ac4e2be1e4c02fb3d3d389b9e7ad7faa6065d24e085de42daca0b47e962085f1cf05b2efbb7d76380d09d3067112 SHA512 b67eee82bd91d659dd85450d7a77c6cea5940b3c5a97ca776e347e5948d714b96d2ae3c4ca9668161aa5cdac1b3a02d0d2e82278c199c3b41840f022de8e378d EBUILD kubelet-1.30.10.ebuild 1054 BLAKE2B 11e3dba49a245a4a0dd5ca3194cc81e05a74ec92de77ca9500962e03906d96f330b8e5d8d5b5ccbc8be70bb769dabc06184ac4568a0481b3a724d4cae732079f SHA512 a8d64f2d935ba67aefd9e105214a577934912578af831087b027302790c102f50f3366c0c0b598d4cf8afada708338bf08088a23f43653b0996edb2c3ff7f594 @@ -21,4 +22,5 @@ EBUILD kubelet-1.31.5.ebuild 1053 BLAKE2B f1075461b87571a5074fc481dfda7d459317bc EBUILD kubelet-1.31.6.ebuild 1054 BLAKE2B a7b77724142a901ef07a9737f00ae97f1996fb9c65fe61d367bf839feaa1748639cc165d6ca3bab89f80335b2af12af12b5adcad3e0ab63bd661f799bcc65b06 SHA512 0de227a6d3182b216ee00b21b5be4dc148a7051d1b91dbf5febebf35e2c2a9e2f440d4ed1e2583d98823e67d0dcc3a55f03a797b760886d98abeac5d0af979de EBUILD kubelet-1.32.1.ebuild 1054 BLAKE2B 358c581eaa4213abe36de821af4108c9cdc2bd9b2f40f1d29738af48598b4345b6ed0c8566623090a7633286133c36b570b717c31cc71da342d57022e2c04655 SHA512 b9409e90e6ee5bd7ed26dd6433bf7c564a8b12523253635707ff1d80c8c89d5380103c857124f1eda42fc2bd18de58450a9e781ebaa014cf1902200a1d45c81e EBUILD kubelet-1.32.2.ebuild 1055 BLAKE2B fc241e238c0960b2a24bea060931534e7574d4c042182cd67c77bb95b441ee73aaacd76e8a09abdf790db301e13d66fc475effcf24367626eb215f14d47a2359 SHA512 dfe9216504a2e9386d459dd24a5891b5d779aa1356023c11e306070c11544953bc15033d253f1f15664f72939efba50142dc380d9d10299370d3e1d7b5104dae +EBUILD kubelet-1.32.3.ebuild 1123 BLAKE2B 41e624408ed18c10dce82f96c625782edf1b827b5fdfab543fc75ee2ed665152ac82b8d01079ebd6c2e0ef06b451945535b684b8084144a23ded6db295033bb0 SHA512 f84e6b78f160975542286dbbc2ceac7fb8cd19b26869822aea1b67a4147a55ebed0bef335f19e3b23d33b6e998c3527778acb332cf5efae662b3b81490ab27c6 MISC metadata.xml 335 BLAKE2B d43f79bc4ff9bad895fc1c0617329cbc07e05d0e7eb8d251688c1f46c61e3360639e43d92f72e9eef0ba5b235f33f2b3ad1bf0f783854b5f9426af43d81c3502 SHA512 de4bf01133d4a117ea2bd21936d670598a30b89dca290a867c3ec4e8ed739aec4867c42504210291ed84add21e1aa100d7d2b565e4351c43bdf2fa906b72a4cb diff --git a/sys-cluster/kubelet/kubelet-1.32.3.ebuild b/sys-cluster/kubelet/kubelet-1.32.3.ebuild new file mode 100644 index 000000000000..f29a3d156f1e --- /dev/null +++ b/sys-cluster/kubelet/kubelet-1.32.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" +S=${WORKDIR}/kubernetes-${PV} + +LICENSE="Apache-2.0" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="hardened selinux" +RESTRICT="test" + +RDEPEND="selinux? ( sec-policy/selinux-kubernetes )" +BDEPEND=">=dev-lang/go-1.23.3" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \ + 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 +} |