Create directory for helm overrides backup
Add a directory in /opt for postgres user to dump overrides backup during upgrade activate. Test plan: PASS Centos build and install PASS File permissions required for upgrade Story: 2009838 Task: 45642 Change-Id: I0dac1dfdda6ff4471761255960cc18721cfe94ce Signed-off-by: Michel Thebeau <Michel.Thebeau@windriver.com>
This commit is contained in:
parent
ffa3a8f637
commit
a09f8a65f3
@ -5,6 +5,9 @@
|
||||
# Install location
|
||||
%global app_folder /usr/local/share/applications/helm
|
||||
|
||||
# backup location of dex overrides
|
||||
%global override_backup /opt/oidc-auth-apps
|
||||
|
||||
# Build variables
|
||||
%global helm_folder /usr/lib/helm
|
||||
|
||||
@ -100,7 +103,9 @@ rm -fr %{app_staging}
|
||||
%install
|
||||
install -d -m 755 %{buildroot}/%{app_folder}
|
||||
install -p -D -m 755 %app_path %{buildroot}/%{app_folder}
|
||||
install -d -m 750 %{buildroot}/%{override_backup}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{app_folder}/%{app_tarball}
|
||||
%dir %attr(750, postgres, postgres) %{override_backup}
|
||||
|
Loading…
Reference in New Issue
Block a user