Merge "Configure keystone auth credentials for placement in neutron"

This commit is contained in:
Zuul 2023-05-26 17:29:40 +00:00 committed by Gerrit Code Review
commit be6af3d900
4 changed files with 36 additions and 1 deletions

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Neutron
name: neutron
version: 0.3.9
version: 0.3.10
home: https://docs.openstack.org/neutron/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Neutron/OpenStack_Project_Neutron_vertical.png
sources:

View File

@ -93,6 +93,29 @@ limitations under the License.
{{- $_ := set $envAll.Values.conf.neutron.nova "password" $envAll.Values.endpoints.identity.auth.nova.password -}}
{{- end -}}
{{- if empty $envAll.Values.conf.neutron.placement.auth_url -}}
{{- $_ := tuple "identity" "internal" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_uri_lookup"| set $envAll.Values.conf.neutron.placement "auth_url" -}}
{{- end }}
{{- if empty $envAll.Values.conf.neutron.placement.region_name -}}
{{- $_ := set $envAll.Values.conf.neutron.placement "region_name" $envAll.Values.endpoints.identity.auth.placement.region_name -}}
{{- end -}}
{{- if empty $envAll.Values.conf.neutron.placement.project_name -}}
{{- $_ := set $envAll.Values.conf.neutron.placement "project_name" $envAll.Values.endpoints.identity.auth.placement.project_name -}}
{{- end -}}
{{- if empty $envAll.Values.conf.neutron.placement.project_domain_name -}}
{{- $_ := set $envAll.Values.conf.neutron.placement "project_domain_name" $envAll.Values.endpoints.identity.auth.placement.project_domain_name -}}
{{- end -}}
{{- if empty $envAll.Values.conf.neutron.placement.user_domain_name -}}
{{- $_ := set $envAll.Values.conf.neutron.placement "user_domain_name" $envAll.Values.endpoints.identity.auth.placement.user_domain_name -}}
{{- end -}}
{{- if empty $envAll.Values.conf.neutron.placement.username -}}
{{- $_ := set $envAll.Values.conf.neutron.placement "username" $envAll.Values.endpoints.identity.auth.placement.username -}}
{{- end -}}
{{- if empty $envAll.Values.conf.neutron.placement.password -}}
{{- $_ := set $envAll.Values.conf.neutron.placement "password" $envAll.Values.endpoints.identity.auth.placement.password -}}
{{- end -}}
{{- if empty $envAll.Values.conf.neutron.octavia.base_url -}}
{{- $_ := tuple "load_balancer" "internal" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_uri_lookup"| set $envAll.Values.conf.neutron.octavia "base_url" -}}
{{- end }}

View File

@ -1797,6 +1797,10 @@ conf:
auth_type: password
auth_version: v3
endpoint_type: internal
placement:
auth_type: password
auth_version: v3
endpoint_type: internal
designate:
auth_type: password
auth_version: v3
@ -2260,6 +2264,13 @@ endpoints:
password: password
user_domain_name: service
project_domain_name: service
placement:
region_name: RegionOne
project_name: service
username: placement
password: password
user_domain_name: service
project_domain_name: service
designate:
region_name: RegionOne
project_name: service

View File

@ -51,4 +51,5 @@ neutron:
- 0.3.7 Sync neutron db to ovn nb db when neutron-server start
- 0.3.8 Define service_type in keystone_authtoken to support application credentials with access rules
- 0.3.9 Extend neutron liveness probe with readiness probe
- 0.3.10 Configure keystone authentication credentials for placement
...