Accepting request 833706 from filesystems:ceph:octopus
CSI sidecar package OBS-URL: https://build.opensuse.org/request/show/833706 OBS-URL: https://build.opensuse.org/package/show/filesystems:ceph/csi-livenessprobe?expand=0&rev=1
This commit is contained in:
commit
602bbb1cc0
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
15
_service
Normal file
15
_service
Normal file
@ -0,0 +1,15 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="url">https://github.com/kubernetes-csi/livenessprobe</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git</param>
|
||||
<param name="versionformat">1.1.0</param>
|
||||
<param name="revision">12e0df8</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
<service name="go_modules" mode="disabled">
|
||||
</service>
|
||||
</services>
|
4
csi-livenessprobe.changes
Normal file
4
csi-livenessprobe.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 5 04:46:48 UTC 2020 - Chin-Ya Huang <chin-ya.huang@suse.com>
|
||||
|
||||
- Initial commit
|
58
csi-livenessprobe.spec
Normal file
58
csi-livenessprobe.spec
Normal file
@ -0,0 +1,58 @@
|
||||
#
|
||||
# spec file for package livenessprobe
|
||||
#
|
||||
# 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/livenessprobe
|
||||
%define package livenessprobe
|
||||
|
||||
Name: csi-%{package}
|
||||
Version: 1.1.0
|
||||
Release: 0
|
||||
Summary: Exposes an HTTP /healthz endpoint to monitor CSI driver
|
||||
License: Apache-2.0
|
||||
Group: System/Management
|
||||
Url: https://%{project}
|
||||
Source: %{package}-%{version}.tar.gz
|
||||
Source1: vendor.tar.gz
|
||||
BuildRequires: golang-packaging
|
||||
BuildRequires: golang(API) >= 1.13
|
||||
|
||||
%description
|
||||
The liveness probe is a sidecar container that exposes an HTTP /healthz endpoint, which serves as kubelet's livenessProbe hook to monitor health of a CSI driver.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{package}-%{version}
|
||||
%setup -q -T -D -a 1 -n %{package}-%{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
|
||||
|
3
livenessprobe-1.1.0.tar.gz
Normal file
3
livenessprobe-1.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:979a4f0259c4ea5c68fa5bb2a4d9ff7ecf6acda6e514e7c47ff29f339f9f11f0
|
||||
size 3332621
|
3
vendor.tar.gz
Normal file
3
vendor.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:99e917fb267bb1868ba755de246c043c1ae45e0fcada7e9a742867d21067859b
|
||||
size 1911945
|
Loading…
Reference in New Issue
Block a user