diff --git a/stx-platform-helm/centos/build_srpm.data b/stx-platform-helm/centos/build_srpm.data index 02d1c5f..5138d04 100644 --- a/stx-platform-helm/centos/build_srpm.data +++ b/stx-platform-helm/centos/build_srpm.data @@ -1,7 +1,8 @@ SRC_DIR="stx-platform-helm" COPY_LIST_TO_TAR="\ +$PKG_BASE/../../../helm-charts/node-feature-discovery \ $PKG_BASE/../../../helm-charts/rbd-provisioner \ $PKG_BASE/../../../helm-charts/ceph-pools-audit" -TIS_PATCH_VER=1 +TIS_PATCH_VER=2 diff --git a/stx-platform-helm/centos/stx-platform-helm.spec b/stx-platform-helm/centos/stx-platform-helm.spec index 58fd967..7e1b8b9 100644 --- a/stx-platform-helm/centos/stx-platform-helm.spec +++ b/stx-platform-helm/centos/stx-platform-helm.spec @@ -62,6 +62,7 @@ helm repo add local http://localhost:8879/charts # Make the charts. These produce a tgz file make rbd-provisioner make ceph-pools-audit +make node-feature-discovery # Terminate helm server (the last backgrounded task) kill %1 @@ -93,7 +94,10 @@ rm -fr %{app_staging} %install install -d -m 755 %{buildroot}/%{app_folder} install -p -D -m 755 %{_builddir}/%{app_tarball} %{buildroot}/%{app_folder} +install -d -m 755 ${RPM_BUILD_ROOT}/opt/extracharts +install -p -D -m 755 node-feature-discovery-*.tgz ${RPM_BUILD_ROOT}/opt/extracharts %files %defattr(-,root,root,-) %{app_folder}/* +/opt/extracharts/*