Add building resources for kubekey
Signed-off-by: FeynmanZhou <pengfeizhou@yunify.com>
This commit is contained in:
parent
613a8afe0d
commit
6f2c1d2cff
BIN
kubekey-v1.2.0.tar.gz
Normal file
BIN
kubekey-v1.2.0.tar.gz
Normal file
Binary file not shown.
39
kubekey.spec
Normal file
39
kubekey.spec
Normal file
@ -0,0 +1,39 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: kubekey
|
||||
Summary: Install Kubernetes only, both Kubernetes and KubeSphere, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA.
|
||||
Version: v1.2.0
|
||||
Release: 1
|
||||
License: Apache-2.0
|
||||
URL: https://gitee.com/openeuler/kubekey
|
||||
|
||||
Source0: https://github.com/kubesphere/kubekey/releases/download/%{version}-openEuler/kubekey-%{version}.tar.gz
|
||||
|
||||
BuildRequires: git go
|
||||
Requires: socat
|
||||
Requires: conntrack
|
||||
|
||||
|
||||
%description
|
||||
Install Kubernetes only, both Kubernetes and KubeSphere, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA.
|
||||
|
||||
|
||||
%prep
|
||||
|
||||
%setup
|
||||
|
||||
%build
|
||||
bash -x build.sh -p
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/local/bin
|
||||
cp output/kk $RPM_BUILD_ROOT/usr/local/bin
|
||||
|
||||
%files
|
||||
/usr/local/bin/kk
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 6 2021 guofeng <guofeng@yunify.com> v1.2.0-1
|
||||
- Init package
|
||||
|
||||
4
kubekey.yaml
Normal file
4
kubekey.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: kubesphere/kubekey
|
||||
tag_prefix: ^v
|
||||
separator: .
|
||||
Loading…
x
Reference in New Issue
Block a user