Accepting request 845440 from home:jzerebecki:branches:Virtualization
- Add package with built YAML manifests used to install kubevirt OBS-URL: https://build.opensuse.org/request/show/845440 OBS-URL: https://build.opensuse.org/package/show/Virtualization/kubevirt?expand=0&rev=15
This commit is contained in:
parent
0f8d196d86
commit
f45410d4b5
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 31 17:34:55 UTC 2020 - Jan Zerebecki <jzerebecki@suse.com>
|
||||
|
||||
- Add package with built YAML manifests used to install kubevirt
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 29 17:03:40 UTC 2020 - James Fehlig <jfehlig@suse.com>
|
||||
|
||||
|
@ -85,6 +85,15 @@ Group: System/Packages
|
||||
%description virt-operator
|
||||
The virt-opertor package provides an operator for kubevirt CRD
|
||||
|
||||
%package manifests
|
||||
Summary: YAML manifests used to install kubevirt
|
||||
Group: System/Packages
|
||||
|
||||
%description manifests
|
||||
This contains the built YAML manifests used to install kubevirt into a
|
||||
kubernetes installation with kubectl apply.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
@ -111,6 +120,7 @@ KUBEVIRT_GIT_TREE_STATE="clean" \
|
||||
cmd/virt-operator \
|
||||
tools/csv-generator \
|
||||
%{nil}
|
||||
env DOCKER_PREFIX=registry.opensuse.org/opensuse/tumbleweed/virt-operator DOCKER_TAG=%{version} ./hack/build-manifests.sh --skipj2
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
@ -125,6 +135,9 @@ install -p -m 0755 _out/cmd/virt-launcher/virt-launcher %{buildroot}%{_bindir}/
|
||||
install -p -m 0755 _out/cmd/virt-operator/virt-operator %{buildroot}%{_bindir}/
|
||||
install -p -m 0755 _out/cmd/csv-generator/csv-generator %{buildroot}%{_bindir}/
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/kube-virt
|
||||
cp -r _out/manifests %{buildroot}%{_datadir}/kube-virt/
|
||||
|
||||
%files virtctl
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
@ -162,4 +175,10 @@ install -p -m 0755 _out/cmd/csv-generator/csv-generator %{buildroot}%{_bindir}/
|
||||
%{_bindir}/virt-operator
|
||||
%{_bindir}/csv-generator
|
||||
|
||||
%files manifests
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%dir %{_datadir}/kube-virt
|
||||
%{_datadir}/kube-virt/manifests
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user