Heat: Fix stack user domain credential template

This PS fixes an error in the heat.conf where the region name was
injected into the stack domain user parm for domain name.

Change-Id: I14ca3f07a8122d31fd5a8982d783a7b1812ae0e9
This commit is contained in:
intlabs 2017-10-12 16:38:37 -05:00
parent 111daab7ef
commit c699614b2d

View File

@ -68,7 +68,7 @@ limitations under the License.
{{- end -}}
{{- if empty .Values.conf.heat.DEFAULT.stack_user_domain_name -}}
{{- set .Values.conf.heat.DEFAULT "stack_user_domain_name" .Values.endpoints.identity.auth.stack_user.region_name | quote | trunc 0 -}}
{{- set .Values.conf.heat.DEFAULT "stack_user_domain_name" .Values.endpoints.identity.auth.stack_user.domain_name | quote | trunc 0 -}}
{{- end -}}
{{- if empty .Values.conf.heat.DEFAULT.stack_domain_admin -}}
{{- set .Values.conf.heat.DEFAULT "stack_domain_admin" .Values.endpoints.identity.auth.stack_user.username | quote | trunc 0 -}}