fix: placement's variables.

This PS corrects placement's variable region_name to os_region_name.

Change-Id: Id22be61f0d27e80dd52e6d787478c6a752714c3c
This commit is contained in:
Jawon Choo 2018-01-15 14:29:03 +09:00
parent aaff2ce6ba
commit d08e179e65

View File

@ -119,8 +119,8 @@ limitations under the License.
{{- tuple "identity" "internal" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_uri_lookup"| set .Values.conf.nova.placement "auth_url" | quote | trunc 0 -}}
{{- end -}}
{{- if empty .Values.conf.nova.placement.region_name -}}
{{- set .Values.conf.nova.placement "region_name" .Values.endpoints.identity.auth.placement.region_name | quote | trunc 0 -}}
{{- if empty .Values.conf.nova.placement.os_region_name -}}
{{- set .Values.conf.nova.placement "os_region_name" .Values.endpoints.identity.auth.placement.region_name | quote | trunc 0 -}}
{{- end -}}
{{- if empty .Values.conf.nova.placement.project_name -}}
{{- set .Values.conf.nova.placement "project_name" .Values.endpoints.identity.auth.placement.project_name | quote | trunc 0 -}}