From 1c44ddc1680de5fbf50ba5b7be50b6eba58535ad Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Tue, 17 Dec 2024 16:00:02 +0100 Subject: [PATCH] limes: fix credential name for limes-validation user in global regions --- openstack/limes/templates/seed.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/openstack/limes/templates/seed.yaml b/openstack/limes/templates/seed.yaml index b654ed0e52..71bb2a09bd 100644 --- a/openstack/limes/templates/seed.yaml +++ b/openstack/limes/templates/seed.yaml @@ -68,7 +68,11 @@ spec: role: service - name: limes-validation description: User account for pre-deployment validation in CI - password: {{ printf "%s/%s/limes/keystone-user/validation/password" $vbase $region | quote }} + {{- $vault_path := printf "%s/limes" $region }} + {{- if $is_global }} + {{- $vault_path = printf "%s/limes-global" (($region | contains "qa") | ternary $region "global") }} + {{- end }} + password: {{ printf "%s/%s/keystone-user/validation/password" $vbase $vault_path | quote }} role_assignments: - project: service role: resource_viewer # needs to be able to run `limesctl project show`