kubernetes-cni.spec 458 B

123456789101112131415161718192021222324
  1. Name: kubernetes-cni
  2. Version: OVERRIDE_THIS
  3. Release: 00
  4. License: ASL 2.0
  5. Summary: Container Cluster Manager - CNI plugins
  6. URL: https://kubernetes.io
  7. %description
  8. Binaries required to provision container networking.
  9. %prep
  10. mkdir -p ./bin
  11. tar -C ./bin -xz -f {kubernetes_cni.tgz}
  12. %install
  13. install -m 755 -d %{buildroot}%{_sysconfdir}/cni/net.d/
  14. install -m 755 -d %{buildroot}/opt/cni
  15. mv bin/ %{buildroot}/opt/cni/
  16. %files
  17. /opt/cni
  18. %{_sysconfdir}/cni/net.d/