From 0b1ed760144abb0b9758c9ff74196fc7488a3136 Mon Sep 17 00:00:00 2001 From: okozachenko Date: Mon, 26 Oct 2020 15:45:00 +0200 Subject: [PATCH] Remove deprecated os_region_name for placement Change-Id: I0ef2ac278ce2d6f7f05683f68c1541bae8013361 --- nova/Chart.yaml | 2 +- nova/templates/configmap-etc.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nova/Chart.yaml b/nova/Chart.yaml index 2cc7222cc3..a8245ca0dc 100644 --- a/nova/Chart.yaml +++ b/nova/Chart.yaml @@ -14,7 +14,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Nova name: nova -version: 0.1.3 +version: 0.1.4 home: https://docs.openstack.org/nova/latest/ icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png sources: diff --git a/nova/templates/configmap-etc.yaml b/nova/templates/configmap-etc.yaml index 84fc30a8b1..820defd95a 100644 --- a/nova/templates/configmap-etc.yaml +++ b/nova/templates/configmap-etc.yaml @@ -154,8 +154,8 @@ limitations under the License. {{- $_ := tuple "identity" "internal" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_uri_lookup"| set .Values.conf.nova.placement "auth_url" -}} {{- end -}} -{{- if empty .Values.conf.nova.placement.os_region_name -}} -{{- $_ := set .Values.conf.nova.placement "os_region_name" .Values.endpoints.identity.auth.placement.region_name -}} +{{- if empty .Values.conf.nova.placement.region_name -}} +{{- $_ := set .Values.conf.nova.placement "region_name" .Values.endpoints.identity.auth.placement.region_name -}} {{- end -}} {{- if empty .Values.conf.nova.placement.project_name -}} {{- $_ := set .Values.conf.nova.placement "project_name" .Values.endpoints.identity.auth.placement.project_name -}}