From d08e179e6550efcef194c0ce4dd62fb8763b1005 Mon Sep 17 00:00:00 2001 From: Jawon Choo Date: Mon, 15 Jan 2018 14:29:03 +0900 Subject: [PATCH] fix: placement's variables. This PS corrects placement's variable region_name to os_region_name. Change-Id: Id22be61f0d27e80dd52e6d787478c6a752714c3c --- nova/templates/configmap-etc.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nova/templates/configmap-etc.yaml b/nova/templates/configmap-etc.yaml index 90ba120ad5..a46959b16e 100644 --- a/nova/templates/configmap-etc.yaml +++ b/nova/templates/configmap-etc.yaml @@ -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 -}}