From 8836edf41ef0c23b1dd93b870532bf5b19d4a3ab163518e4d9c7066e143076bd Mon Sep 17 00:00:00 2001 From: Tim Serong Date: Fri, 11 Sep 2020 08:25:44 +0000 Subject: [PATCH] Accepting request 833707 from filesystems:ceph:octopus CSI sidecar package OBS-URL: https://build.opensuse.org/request/show/833707 OBS-URL: https://build.opensuse.org/package/show/filesystems:ceph/csi-node-driver-registrar?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + _service | 15 ++++++++ csi-node-driver-registrar.changes | 4 ++ csi-node-driver-registrar.spec | 59 ++++++++++++++++++++++++++++++ node-driver-registrar-1.2.0.tar.gz | 3 ++ vendor.tar.gz | 3 ++ 7 files changed, 108 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 csi-node-driver-registrar.changes create mode 100644 csi-node-driver-registrar.spec create mode 100644 node-driver-registrar-1.2.0.tar.gz create mode 100644 vendor.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..8a83b98 --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + https://github.com/kubernetes-csi/node-driver-registrar + git + .git + 1.2.0 + 6ef000ae + + + *.tar + gz + + + + diff --git a/csi-node-driver-registrar.changes b/csi-node-driver-registrar.changes new file mode 100644 index 0000000..2b3e263 --- /dev/null +++ b/csi-node-driver-registrar.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Aug 5 04:53:07 UTC 2020 - Chin-Ya Huang + +- Initial commit diff --git a/csi-node-driver-registrar.spec b/csi-node-driver-registrar.spec new file mode 100644 index 0000000..8c5b7af --- /dev/null +++ b/csi-node-driver-registrar.spec @@ -0,0 +1,59 @@ +# +# spec file for package csi-node-driver-registrar +# +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +%{go_nostrip} + +%define project github.com/kubernetes-csi/node-driver-registrar +%define package csi-node-driver-registrar +%define source node-driver-registrar + +Name: %{package} +Version: 1.2.0 +Release: 0 +Summary: Registers the CSI driver with Kubelet +License: Apache-2.0 +Group: System/Management +Url: https://%{project} +Source: %{source}-%{version}.tar.gz +Source1: vendor.tar.gz +BuildRequires: golang-packaging +BuildRequires: golang(API) >= 1.12 + +%description +Kubernetes node-driver-registrar is a sidecar container that registers the CSI driver with Kubelet using the kubelet plugin registration mechanism. + +%prep +%setup -q -n %{source}-%{version} +%setup -q -T -D -a 1 -n %{source}-%{version} + +%build +%goprep %{project} + +export CGO_ENABLED=0 + +%gobuild -a -mod=vendor -ldflags "-X main.version=%{version}" cmd/%{package} + +%install +%goinstall + +%files +%license LICENSE +%doc README.md +%{_bindir}/%{package} + +%changelog + diff --git a/node-driver-registrar-1.2.0.tar.gz b/node-driver-registrar-1.2.0.tar.gz new file mode 100644 index 0000000..1d23cd6 --- /dev/null +++ b/node-driver-registrar-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:84eeb39c76d1257655ab146db5778de2e2dfa1eb2fb1844d6cb59e492c93369f +size 3060112 diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..6262aca --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:782c701722ca535cc5a79879919790b6dfa0ec8693575c00f067ef3967a20b92 +size 1522425