Add Cloud-Provider-Openstack to Build

Cloud-Provider-Openstack is required for Keystone authentication with
Kubernetes. This commit brings in Cloud-Provider-Openstack as a
pre-built binary to shove into an RPM as part of the ISO. The source
is also downloaded, but not used at the moment.

Story: 2002843
Task: 26958
Depends-On: https://review.openstack.org/651326

Change-Id: If2a7a1d696370c8e40a11f8002c9a597406eb2db
Signed-off-by: Jerry Sun <jerry.sun@windriver.com>
This commit is contained in:
Jerry Sun 2019-04-09 12:51:12 -04:00
parent 32fb0a4e9c
commit 1f5b8375f8
4 changed files with 31 additions and 0 deletions

View File

@ -87,6 +87,9 @@ influxdb-extensions
docker-distribution
registry-token-server
# kubernetes keystone authentication
cloud-provider-openstack
# helm
helm

View File

@ -88,6 +88,7 @@ kubernetes/kubernetes
kubernetes/docker-distribution
kubernetes/helm
kubernetes/registry-token-server
kubernetes/cloud-provider-openstack
logging/logmgmt
filesystem/filesystem-scripts
config-files/io-scheduler

View File

@ -0,0 +1,5 @@
TAR_NAME="cloud-provider-openstack"
COPY_LIST=" \
$STX_BASE/downloads/cloud-provider-openstack-1.13.1-linux-amd64.tar.gz \
"
TIS_PATCH_VER=0

View File

@ -0,0 +1,22 @@
Name: cloud-provider-openstack
Version: 1.13.1
Release: 1%{?_tis_dist}.%{tis_patch_ver}
Summary: For Kubernetes to work with Openstack
License: ASL 2.0
Source0: cloud-provider-openstack-1.13.1-linux-amd64.tar.gz
ExclusiveArch: x86_64
%description
For Kubernetes to work with Openstack. For example, Keystone authentication.
%prep
%setup -n cloud-provider-openstack
%install
install -d -p %{buildroot}%{_bindir}
install -p -m 0755 client-keystone-auth %{buildroot}%{_bindir}
%files
%doc LICENSE
%{_bindir}/client-keystone-auth