17 lines
1.3 KiB
YAML
17 lines
1.3 KiB
YAML
{{- $searchPath := ":global.kolla.cinder.create_keystone_endpoint.publicv3.job:global.kolla.cinder.create_keystone_endpoint.all:global.kolla.cinder.api.all:global.kolla.cinder.all:global.kolla.all" }}
|
|
{{- $resourceName := "cinder-create-keystone-endpoint-publicv3" }}
|
|
{{- $netHostTrue := false }}
|
|
{{- $podTypeBootstrap := true }}
|
|
{{- $serviceName := "cinder" }}
|
|
{{- $serviceType := "volume" }}
|
|
{{- $interface := "public" }}
|
|
{{- $port := include "kolla_val_get_str" (dict "key" "port" "searchPath" $searchPath "Values" .Values ) }}
|
|
{{- $externalVip := include "kolla_val_get_str" (dict "key" "external_vip" "searchPath" $searchPath "Values" .Values ) }}
|
|
{{- $cinderPublicEndpointBuilt := printf "http://%s:%s/v3/%%(tenant_id)s" $externalVip $port }}
|
|
{{- $endpointURLFullUser := include "kolla_val_get_str" (dict "key" "endpoint" "searchPath" $searchPath "Values" .Values ) }}
|
|
{{- $endpointURLFull := $endpointURLFullUser | default $cinderPublicEndpointBuilt }}
|
|
{{- $postfix := "v3" }}
|
|
{{- with $env := dict "netHostTrue" $netHostTrue "podTypeBootstrap" $podTypeBootstrap "resourceName" $resourceName "serviceName" $serviceName "serviceType" $serviceType "interface" $interface "endpointURLFull" $endpointURLFull "postfix" $postfix "Release" .Release "Values" .Values "searchPath" $searchPath }}
|
|
{{- include "common_create_keystone_endpoint" $env }}
|
|
{{- end }}
|