mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-22 21:10:22 +00:00
25 lines
469 B
RPMSpec
25 lines
469 B
RPMSpec
Name: kubernetes-cni
|
|
Version: OVERRIDE_THIS
|
|
Release: 00
|
|
License: ASL 2.0
|
|
Summary: Container Cluster Manager - CNI plugins
|
|
|
|
URL: https://kubernetes.io
|
|
|
|
%description
|
|
Binaries required to provision container networking.
|
|
|
|
%prep
|
|
mkdir -p ./bin
|
|
tar -C ./bin -xz -f {cni-plugins-amd64-v0.6.0.tgz}
|
|
|
|
%install
|
|
|
|
install -m 755 -d %{buildroot}%{_sysconfdir}/cni/net.d/
|
|
install -m 755 -d %{buildroot}/opt/cni
|
|
mv bin/ %{buildroot}/opt/cni/
|
|
|
|
%files
|
|
/opt/cni
|
|
%{_sysconfdir}/cni/net.d/
|