Skip to content

Commit

Permalink
limes: fix credential name for limes-validation user in global regions
Browse files Browse the repository at this point in the history
  • Loading branch information
majewsky committed Dec 17, 2024
1 parent 1e80ac4 commit 1c44ddc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion openstack/limes/templates/seed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 1c44ddc

Please sign in to comment.