diff --git a/kubekey-v2.2.2.tar.gz b/kubekey-v3.0.7.tar.gz similarity index 66% rename from kubekey-v2.2.2.tar.gz rename to kubekey-v3.0.7.tar.gz index 13df33a..6833deb 100644 Binary files a/kubekey-v2.2.2.tar.gz and b/kubekey-v3.0.7.tar.gz differ diff --git a/kubekey.spec b/kubekey.spec index df3daf1..c8c8b3d 100644 --- a/kubekey.spec +++ b/kubekey.spec @@ -2,14 +2,12 @@ Name: kubekey Summary: Install Kubernetes/K3s only, both Kubernetes/K3s and KubeSphere, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA. -Version: v2.2.2 -Release: 3 +Version: v3.0.7 +Release: 1 License: Apache-2.0 URL: https://github.com/kubesphere/kubekey Source0: https://github.com/kubesphere/kubekey/releases/download/%{version}-openEuler/kubekey-%{version}.tar.gz -Patch0001: backport-0001-fix-invalid-syntax-of-etc_sysctl_conf.patch -Patch0002: backport-0001-fix-delete-k3s-cluster-with-kubenetes-version.patch BuildRequires: git go Requires: socat @@ -20,21 +18,25 @@ Requires: conntrack Install Kubernetes/K3s only, both Kubernetes/K3s and KubeSphere, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA. %prep -%autosetup -n %{name}-%{version} -p1 + +%setup %build -bash -x build.sh -p +make kk %install mkdir -p $RPM_BUILD_ROOT/usr/local/bin -cp output/kk $RPM_BUILD_ROOT/usr/local/bin +cp bin/kk $RPM_BUILD_ROOT/usr/local/bin %files /usr/local/bin/kk %changelog -* Fri Jan 06 chenmaodong v2.2.2-3 +* Mon Mar 13 2023 guofeng v3.0.7-1 +- update to latest version v3.0.7 + +* Fri Jan 06 2023 chenmaodong v2.2.2-3 - fix: delete k3s cluster with kubenetes version * Thu Dec 29 2022 chenmaodong v2.2.2-2