mirror of
https://abf.rosa.ru/djam/kubernetes.git
synced 2025-02-23 13:42:55 +00:00
up release, install bash completion
This commit is contained in:
parent
423f831178
commit
08bfe000f5
1 changed files with 5 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
Name: kubernetes
|
||||
Version: 1.20.2
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Production-Grade Container Scheduling and Management
|
||||
License: ASL 2.0
|
||||
URL: https://kubernetes.io
|
||||
|
@ -124,8 +124,11 @@ install -dm0755 %{buildroot}%{_libexecdir}/modules-load.d
|
|||
install -dm0755 %{buildroot}/usr/lib/sysctl.d
|
||||
install -dm0755 %{buildroot}%{_mandir}/man1
|
||||
|
||||
install -d %{buildroot}%{_sysconfdir}/bash_completion.d
|
||||
|
||||
# kubeadm
|
||||
install -Dm0755 _output/bin/kubeadm %{buildroot}%{_bindir}/kubeadm
|
||||
_output/bin/kubeadm completion bash > %{buildroot}%{_sysconfdir}/bash_completion.d/kubeadm
|
||||
|
||||
# kubelet
|
||||
install -Dm0755 _output/bin/kubelet %{buildroot}%{_bindir}/kubelet
|
||||
|
@ -135,6 +138,7 @@ install -Dm0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/kubelet
|
|||
|
||||
# kubectl
|
||||
install -Dm0755 _output/bin/kubectl %{buildroot}%{_bindir}/kubectl
|
||||
_output/bin/kubectl completion bash > %{buildroot}%{_sysconfdir}/bash_completion.d/kubectl
|
||||
|
||||
# other bins
|
||||
install -Dm0755 _output/bin/kube-* %{buildroot}%{_bindir}
|
||||
|
|
Loading…
Add table
Reference in a new issue