3d8844ef7e
The patch added by this change will make openstack-helm-infra mariadb chart syntax compatible with FluxCD (helmv3). Tests done with osh-i charts as they were used on our armada app failed with helm release render errors. Test Plan: PASS - build-helm-charts.sh builds a basic FluxCD and a complete Armada app tarball PASS - application upload and overrides generated PASS - application apply/remove/delete Closes-Bug: 1987705 Signed-off-by: Thales Elero Cervi <thaleselero.cervi@windriver.com> Change-Id: Ie26ebd10833e797652e24d4736d15d8c89cba1e4
92 lines
2.5 KiB
RPMSpec
92 lines
2.5 KiB
RPMSpec
%global sha 8351fdd0f1228717342c2accc96977b0cdc36dc3
|
|
%global helm_folder /usr/lib/helm
|
|
|
|
Summary: Openstack-Helm-Infra charts
|
|
Name: openstack-helm-infra
|
|
Version: 1.0
|
|
Release: %{tis_patch_ver}%{?_tis_dist}
|
|
License: Apache-2.0
|
|
Group: base
|
|
Packager: Wind River <info@windriver.com>
|
|
URL: https://github.com/openstack/openstack-helm-infra
|
|
|
|
Source0: %{name}-%{sha}.tar.gz
|
|
Source1: repositories.yaml
|
|
|
|
BuildArch: noarch
|
|
|
|
Patch01: 0001-Add-imagePullSecrets-in-service-account.patch
|
|
Patch03: 0003-Partial-revert-of-31e3469d28858d7b5eb6355e88b6f49fd6.patch
|
|
Patch04: 0004-Fix-pod-restarts-on-all-workers-when-worker-added-re.patch
|
|
Patch05: 0005-Add-io_thread_pool-for-rabbitmq.patch
|
|
Patch06: 0006-Enable-override-of-rabbitmq-probe-parameters.patch
|
|
Patch09: 0009-Enable-override-of-mariadb-server-probe-parameters.patch
|
|
Patch11: 0011-Add-mariadb-database-config-override-to-support-ipv6.patch
|
|
Patch12: 0012-enable-Values.conf.database.config_override-for-mari.patch
|
|
Patch13: 0013-Allow-set-public-endpoint-url-for-all-openstack-types.patch
|
|
Patch17: 0017-Enable-taint-toleration-for-Openstack-services.patch
|
|
Patch18: 0018-Add-GaleraDB-Secure-Replica-Traffic.patch
|
|
Patch19: 0019-Add-force_boot-command-to-rabbit-start-template.patch
|
|
Patch20: 0020-Fix-tls-in-openstack-helm-infra.patch
|
|
Patch21: 0021-Remove-mariadb-tls.patch
|
|
Patch22: 0022-Remove-rabbitmq-tls.patch
|
|
Patch23: 0023-Update-RabbitMQ-probes.patch
|
|
Patch24: 0024-Update-openstack-Ingress-for-networking-api-v1.patch
|
|
Patch25: 0025-Update-templates-syntax-for-fluxcd-helm-v3.patch
|
|
|
|
BuildRequires: helm
|
|
BuildRequires: chartmuseum
|
|
|
|
%description
|
|
Openstack Helm Infra charts
|
|
|
|
%prep
|
|
%setup -n openstack-helm-infra
|
|
%patch01 -p1
|
|
%patch03 -p1
|
|
%patch04 -p1
|
|
%patch05 -p1
|
|
%patch06 -p1
|
|
%patch09 -p1
|
|
%patch11 -p1
|
|
%patch12 -p1
|
|
%patch13 -p1
|
|
%patch17 -p1
|
|
%patch18 -p1
|
|
%patch19 -p1
|
|
%patch20 -p1
|
|
%patch21 -p1
|
|
%patch22 -p1
|
|
%patch23 -p1
|
|
%patch24 -p1
|
|
%patch25 -p1
|
|
|
|
%build
|
|
# Host a server for the charts
|
|
chartmuseum --debug --port=8879 --context-path='/charts' --storage="local" --storage-local-rootdir="." &
|
|
sleep 2
|
|
helm repo add local http://localhost:8879/charts
|
|
|
|
# Make the charts. These produce tgz files
|
|
make helm-toolkit
|
|
make gnocchi
|
|
make ingress
|
|
make libvirt
|
|
make mariadb
|
|
make memcached
|
|
make openvswitch
|
|
make rabbitmq
|
|
make ceph-rgw
|
|
|
|
# terminate helm server (the last backgrounded task)
|
|
kill %1
|
|
|
|
%install
|
|
install -d -m 755 ${RPM_BUILD_ROOT}%{helm_folder}
|
|
install -p -D -m 755 *.tgz ${RPM_BUILD_ROOT}%{helm_folder}
|
|
|
|
%files
|
|
%dir %attr(0755,root,root) %{helm_folder}
|
|
%defattr(-,root,root,-)
|
|
%{helm_folder}/*
|