Ai
6 Star 2 Fork 5

src-openEuler/nestos-kubernetes-deployer
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nestos-kubernetes-deployer.spec 3.83 KB
一键复制 编辑 原始数据 按行查看 历史
%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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/nestos-kubernetes-deployer.git
git@gitee.com:src-openeuler/nestos-kubernetes-deployer.git
src-openeuler
nestos-kubernetes-deployer
nestos-kubernetes-deployer
master

搜索帮助