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:
parent
c5791442e5
commit
b572232c96
@ -1,4 +1,5 @@
|
|||||||
%global armada_folder /usr/lib/armada
|
%global armada_folder /usr/lib/armada
|
||||||
|
%global app_folder /usr/lib/application
|
||||||
|
|
||||||
Summary: StarlingX Monitor Application Armada Helm Charts
|
Summary: StarlingX Monitor Application Armada Helm Charts
|
||||||
Name: stx-monitor-helm
|
Name: stx-monitor-helm
|
||||||
@ -26,7 +27,10 @@ StarlingX Monitor Application Armada Helm Charts
|
|||||||
%install
|
%install
|
||||||
install -d -m 755 ${RPM_BUILD_ROOT}%{armada_folder}
|
install -d -m 755 ${RPM_BUILD_ROOT}%{armada_folder}
|
||||||
install -p -D -m 755 manifests/*.yaml ${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
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{armada_folder}/*
|
%{armada_folder}/*
|
||||||
|
%{app_folder}/*
|
||||||
|
1
stx-monitor-helm/stx-monitor-helm/files/metadata.yaml
Normal file
1
stx-monitor-helm/stx-monitor-helm/files/metadata.yaml
Normal file
@ -0,0 +1 @@
|
|||||||
|
maintain_user_overrides: true
|
Loading…
x
Reference in New Issue
Block a user