Fix post.sh for Nova with KS Endpoint type lookup function

This commit is contained in:
Pete Birley 2017-03-07 01:35:27 +00:00
parent 5b77f5d4de
commit 6b552087aa

View File

@ -58,10 +58,10 @@ auth='{{ include "helm-toolkit.keystone_auth" .}}'" \
cat <<EOF>/tmp/openrc cat <<EOF>/tmp/openrc
export OS_USERNAME={{.Values.keystone.admin_user}} export OS_USERNAME={{.Values.keystone.admin_user}}
export OS_PASSWORD={{.Values.keystone.admin_password}} export OS_PASSWORD={{.Values.keystone.admin_password}}
export OS_PROJECT_DOMAIN_NAME={{.Values.keystone.domain_name}} export OS_PROJECT_DOMAIN_NAME={{.Values.keystone.admin_user_domain}}
export OS_USER_DOMAIN_NAME={{.Values.keystone.domain_name}} export OS_USER_DOMAIN_NAME={{.Values.keystone.admin_user_domain}}
export OS_PROJECT_NAME={{.Values.keystone.admin_project_name}} export OS_PROJECT_NAME={{.Values.keystone.admin_project_name}}
export OS_AUTH_URL={{include "helm-toolkit.endpoint_keystone_internal" .}} export OS_AUTH_URL={{ tuple "identity" "internal" "api" . | include "helm-toolkit.keystone_endpoint_uri_lookup" }}
export OS_AUTH_STRATEGY=keystone export OS_AUTH_STRATEGY=keystone
export OS_REGION_NAME={{.Values.keystone.admin_region_name}} export OS_REGION_NAME={{.Values.keystone.admin_region_name}}
export OS_INSECURE=1 export OS_INSECURE=1