Go to file
Luan Nunes Utimura f9c1019fe0 clients: Adjust creation of admin-openrc file
Currently, the `admin-openrc` file is being generated by the init
container (clients-init) via the redirection operator `>>`.

This can unnecessarily populate the file if the init container runs two
or more times. Therefore, we can fix this by using the redirection
operator `>` instead of `>>`.

Test Plan:
PASS - Build stx-openstack-fluxcd-helm package
PASS - Build stx-openstack helm charts
PASS - Apply/upload stx-openstack
PASS - Manually delete one of the clients pod and wait for it to respawn
PASS - Verify that admin-openrc does not contain additional lines:
       $ cat /var/opt/openstack/admin-openrc
PASS - Remove/delete stx-openstack

Story: 2010774
Task: 48351

Change-Id: I9e05e88fad7586c59622d4152de1aa24d4bcaffc
Signed-off-by: Luan Nunes Utimura <LuanNunes.Utimura@windriver.com>
2023-07-26 10:15:47 -03:00
2023-04-28 12:38:52 -04:00
2021-09-09 11:27:54 -04:00
2022-12-23 15:53:55 +00:00
Description
StarlingX OpenStack Armada App
13 MiB
Languages
Python 97.6%
Smarty 1.4%
Makefile 0.7%
Shell 0.3%