Rafael Falcao c66f115730 Update user to execute commands in cinder related pods
The cinder-volume container needs to be able to run qemu-img
commands. The current user used to execute those commands
(keystone) does not have the permissions to do that.
We are updating the runAsUser parameter to execute all
cinder related containers as cinder user. Doing that the
user of the container will have the correct permissions
to perform its operations.

Depends-on: https://review.opendev.org/c/starlingx/upstream/+/880772

Test plan:
PASS - Build openstack-helm package
PASS - Build stx-openstack-helm-fluxcd package
PASS - Build stx-openstack helm charts
PASS - Update/apply stx-openstack
PASS - kubectl exec in the cinder-volume pod and check that the
       default user is now 'cinder' instead of 'keystone'
PASS - Remove/delete stx-openstack

Closes-Bug: 2012392

Signed-off-by: Rafael Falcao <rafael.vieirafalcao@windriver.com>
Change-Id: Id4584bc11e73a8a667258e7fb7a8e6ba66c7b7e8
2023-04-20 09:22:28 -03:00
..