代码拉取完成,页面将自动刷新
%define debug_package %{nil}
Name: nestos-kubernetes-deployer
Version: 0.3.0
Release: 6
Summary: A platform to deploy and operate k8s clusters
License: Apache-2.0
URL: https://gitee.com/openeuler/nestos-kubernetes-deployer
Source0: %{name}-%{version}.tar.gz
Patch0001: 0001-backport-fix-CVE-2023-39325-and-CVE-2023-44487.patch
Patch0002: 0002-backport-fix-CVE-2022-1996.patch
Patch0003: 0003-backport-fix-CVE-2025-22868.patch
Patch0004: 0004-implement-a-pure-Go-solution-to-eliminate-iproute-de.patch
BuildRequires: make
BuildRequires: glibc
BuildRequires: golang >= 1.17
%description
This is a deployment tool of kubernetes cluster. It covers a series of functions such as infrastructure and Kubernetes core component deployment, update, and configuration management, providing users with a one-stop solution. It supports customization of multiple container runtimes, and is compatible with multiple platform deployments. In addition, it has the ability to create cluster self-signed certificates and supports deploying multiple versions of Kubernetes clusters, covering various scenarios that may be encountered in actual use.
%prep
%autosetup -n %{name}-%{version} -p1
%package -n nkd
Summary: nkd
Requires: opentofu
Requires: kubernetes-client
Provides: nkd = %{version}-%{release}
%description -n nkd
Deployment tool.
%package -n nkd-housekeeper
Summary: nkd housekeeper
Provides: nkd-housekeeper = %{version}-%{release}
%description -n nkd-housekeeper
Upgrade the OS or k8s version module.
%build
# nkd
GO111MODULE=on go build -mod=vendor -tags release --ldflags="-w -s" -o nkd nkd.go
# housekeeper
cd housekeeper
make housekeeper-daemon
cd -
%install
# nkd
install -D -m 0555 nkd %{buildroot}%{_bindir}/nkd
# housekeeper
install -D -m 0555 housekeeper/bin/housekeeper-daemon %{buildroot}%{_bindir}/housekeeper-daemon
install -D -m 0644 housekeeper/daemon/files/housekeeper-daemon.service %{buildroot}/usr/lib/systemd/system/housekeeper-daemon.service
%files
%doc README.md README.en.md
%license LICENSE
%files -n nkd
%{_bindir}/nkd
%files -n nkd-housekeeper
%{_bindir}/housekeeper-daemon
/usr/lib/systemd/system/housekeeper-daemon.service
%changelog
* Wed Dec 03 2025 zhangbowei <zhangbowei@kylinos.cn> - 0.3.0-6
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: implement a pure Go solution to eliminate iproute dependencies
* Tue Dec 02 2025 lijian <lijian2@kylinos.cn> - 0.3.0-5
- Type:cves
- ID:NA
- SUG:NA
- DESC:fix CVE-2025-22868
* Tue Dec 02 2025 lijian <lijian2@kylinos.cn> - 0.3.0-4
- Type:cves
- ID:NA
- SUG:NA
- DESC:fix CVE-2022-1996
* Tue Dec 02 2025 lijian <lijian2@kylinos.cn> - 0.3.0-3
- Type:cves
- ID:NA
- SUG:NA
- DESC:fix CVE-2023-39325 and CVE-2023-44487
* Fri Dec 20 2024 litian <dev11105@linx-info.com> - 0.3.0-2
- Use the default patch command instead of git apply to patch
* Fri Jun 28 2024 liukuo <liukuo@kylinos.cn> - 0.3.0-1
- Upgrade to 0.3.0
* Mon May 13 2024 liukuo <liukuo@kylinos.cn> - 0.2.2-4
- Type: bugfix
- ID:NA
- SUG:NA
- DESC: Modify bugs for upgrading the operating system
* Tue Apr 16 2024 lijian <lijian2@kylinos.cn> - 0.2.2-3
- Delete require nkd in nkd-housekeeper
* Tue Apr 16 2024 lijian <lijian2@kylinos.cn> - 0.2.2-2
- Add README.md README.en.md LICENSE
- Add new require kubernetes-client
* Thu Mar 21 2024 lijian <lijian2@kylinos.cn> - 0.2.2-1
- Upgrade to 0.2.2
* Thu Mar 21 2024 lijian <lijian2@kylinos.cn> - 0.2.1-2
- Add require opentofu
* Fri Feb 23 2024 lijian <lijian2@kylinos.cn> - 0.2.1-1
- Bugfix for v0.2.0
* Tue Jan 02 2024 liukuo <liukuo@kylinos.cn> - 0.2.0-1
- Support for the libvirt platform, as well as integrated certificate and configuration management modules
* Tue Sep 12 2023 liukuo <liukuo@kylinos.cn> - 0.1.0-1
- First release of the nestos-kubernetes-deployer rpm package
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。