mirror of
https://abf.rosa.ru/djam/kubernetes.git
synced 2025-02-23 13:42:55 +00:00
Update to 1.20.10, install bash completion
This commit is contained in:
commit
f5214e5c8d
2 changed files with 39 additions and 34 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
|||
sources:
|
||||
kubernetes-1.20.2.tar.gz: 06d562409795c779a4826a71e50228f6eb969493
|
||||
kubernetes-1.20.10.tar.gz: 126bfc67bdaba8e7a95af89465cc2fa4d2578d27
|
||||
|
|
|
@ -2,20 +2,20 @@
|
|||
%define debug_package %nil
|
||||
|
||||
Name: kubernetes
|
||||
Version: 1.20.2
|
||||
Release: 2
|
||||
Version: 1.20.10
|
||||
Release: 1
|
||||
Summary: Production-Grade Container Scheduling and Management
|
||||
Group: Development/Other
|
||||
License: ASL 2.0
|
||||
URL: https://kubernetes.io
|
||||
Source0: https://github.com/kubernetes/kubernetes/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: https://raw.githubusercontent.com/kubernetes/release/master/packages/rpm/kubelet.service
|
||||
Source2: https://raw.githubusercontent.com/kubernetes/release/master/packages/rpm/10-kubeadm-post-1.11.conf
|
||||
Source3: https://raw.githubusercontent.com/kubernetes/release/master/packages/rpm/kubelet.env
|
||||
Source1000: %{name}.rpmlintrc
|
||||
Group: Development/Other
|
||||
Source1: https://raw.githubusercontent.com/kubernetes/release/master/packages/rpm/kubelet.service
|
||||
Source2: https://raw.githubusercontent.com/kubernetes/release/master/packages/rpm/10-kubeadm-post-1.11.conf
|
||||
Source3: https://raw.githubusercontent.com/kubernetes/release/master/packages/rpm/kubelet.env
|
||||
Source10: %{name}.rpmlintrc
|
||||
BuildRequires: go >= 1.15
|
||||
BuildRequires: git-core
|
||||
BuildRequires: upx
|
||||
#BuildRequires: upx
|
||||
|
||||
%description
|
||||
Kubernetes is an open source system for managing containerized
|
||||
|
@ -24,23 +24,25 @@ for deployment, maintenance, and scaling of applications.
|
|||
|
||||
#------------------------------------------------------------
|
||||
|
||||
%package -n kubectl
|
||||
Summary: Container Cluster Manager - Kubernetes client tools
|
||||
%package -n kubectl
|
||||
Summary: Container Cluster Manager - Kubernetes client tools
|
||||
Group: Development/Other
|
||||
|
||||
%description -n kubectl
|
||||
%description -n kubectl
|
||||
Command-line utility for interacting with a Kubernetes cluster
|
||||
|
||||
%files -n kubectl
|
||||
%files -n kubectl
|
||||
%{_bindir}/kubectl
|
||||
|
||||
#------------------------------------------------------------
|
||||
|
||||
%package -n kubeadm
|
||||
Summary: Command-line utility for administering a Kubernetes cluster
|
||||
Requires: kubelet >= 1.20.0
|
||||
Requires: kubectl >= 1.20.0
|
||||
Requires: cni-plugins >= 0.8.6
|
||||
Requires: cri-tools >= 1.20.0
|
||||
Summary: Command-line utility for administering a Kubernetes cluster
|
||||
Group: Development/Other
|
||||
Requires: kubelet >= 1.20.0
|
||||
Requires: kubectl >= 1.20.0
|
||||
Requires: cni-plugins >= 0.8.6
|
||||
Requires: cri-tools >= 1.20.0
|
||||
|
||||
%description -n kubeadm
|
||||
Command-line utility for deploying a Kubernetes cluster
|
||||
|
@ -50,22 +52,23 @@ Command-line utility for deploying a Kubernetes cluster
|
|||
|
||||
#------------------------------------------------------------
|
||||
|
||||
%package -n kubelet
|
||||
Summary: Container Cluster Manager - Kubernetes Node Agent
|
||||
Requires: conntrack-tools
|
||||
Requires: ebtables
|
||||
Requires: ethtool
|
||||
Requires: iproute
|
||||
Requires: iptables >= 1.4.21
|
||||
Requires: cni-plugins >= 0.8.6
|
||||
Requires: socat
|
||||
Requires: util-linux
|
||||
Requires: systemd
|
||||
%package -n kubelet
|
||||
Summary: Container Cluster Manager - Kubernetes Node Agent
|
||||
Group: Development/Other
|
||||
Requires: conntrack-tools
|
||||
Requires: ebtables
|
||||
Requires: ethtool
|
||||
Requires: iproute
|
||||
Requires: iptables >= 1.4.21
|
||||
Requires: cni-plugins >= 0.8.6
|
||||
Requires: socat
|
||||
Requires: util-linux
|
||||
Requires: systemd
|
||||
|
||||
%description -n kubelet
|
||||
%description -n kubelet
|
||||
The node agent of Kubernetes, the container cluster manager
|
||||
|
||||
%files -n kubelet
|
||||
%files -n kubelet
|
||||
%{_bindir}/kubelet
|
||||
%{_unitdir}/kubelet.service
|
||||
%{_unitdir}/kubelet.service.d/10-kubeadm.conf
|
||||
|
@ -75,7 +78,8 @@ The node agent of Kubernetes, the container cluster manager
|
|||
#------------------------------------------------------------
|
||||
|
||||
%package tools
|
||||
Summary: Kubernetes tools
|
||||
Summary: Kubernetes tools
|
||||
Group: Development/Other
|
||||
|
||||
%description tools
|
||||
Kubernetes tools
|
||||
|
@ -86,7 +90,8 @@ Kubernetes tools
|
|||
#------------------------------------------------------------
|
||||
|
||||
%package docs
|
||||
Summary: Documentation for Kubernetes
|
||||
Summary: Documentation for Kubernetes
|
||||
Group: Documentation
|
||||
|
||||
%description docs
|
||||
Documentation for Kubernetes
|
||||
|
@ -121,7 +126,7 @@ install -dm0755 %{buildroot}%{_sysconfdir}/kubernetes/manifests
|
|||
install -dm0755 %{buildroot}%{_sysconfdir}/sysconfig/kubelet
|
||||
install -dm0755 %{buildroot}%{_sysconfdir}/cni/net.d
|
||||
install -dm0755 %{buildroot}%{_libexecdir}/modules-load.d
|
||||
install -dm0755 %{buildroot}/usr/lib/sysctl.d
|
||||
install -dm0755 %{buildroot}%{_sysctldir}
|
||||
install -dm0755 %{buildroot}%{_mandir}/man1
|
||||
|
||||
install -d %{buildroot}%{_sysconfdir}/bash_completion.d
|
||||
|
|
Loading…
Add table
Reference in a new issue