Add metadata for stx-monitor

The metadata "maintain_user_overrides" is used to determine whether
the user overrides will be reused or not when updating the application
to a new version.

Set it true for stx-monitor.

Change-Id: Icfb5963f6396d099a61ca9d76963dc63531595b5
Partial-Bug: 1849486
Signed-off-by: Angie Wang <angie.wang@windriver.com>
This commit is contained in:
Angie Wang 2019-10-25 14:30:44 -04:00
parent c5791442e5
commit b572232c96
2 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,5 @@
%global armada_folder /usr/lib/armada
%global app_folder /usr/lib/application
Summary: StarlingX Monitor Application Armada Helm Charts
Name: stx-monitor-helm
@ -26,7 +27,10 @@ StarlingX Monitor Application Armada Helm Charts
%install
install -d -m 755 ${RPM_BUILD_ROOT}%{armada_folder}
install -p -D -m 755 manifests/*.yaml ${RPM_BUILD_ROOT}%{armada_folder}
install -d -m 755 ${RPM_BUILD_ROOT}%{app_folder}
install -p -D -m 755 files/metadata.yaml ${RPM_BUILD_ROOT}%{app_folder}
%files
%defattr(-,root,root,-)
%{armada_folder}/*
%{app_folder}/*

View File

@ -0,0 +1 @@
maintain_user_overrides: true