mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
pass openstack-heat OS_USER_DOMAIN_NAME config to domain-name in openstack.conf
This commit is contained in:
parent
84e98251ed
commit
87ee6b34ce
@ -34,6 +34,7 @@ write_files:
|
||||
password=$OS_PASSWORD
|
||||
region=$OS_REGION_NAME
|
||||
tenant-name=$OS_TENANT_NAME
|
||||
domain-name=$OS_USER_DOMAIN_NAME
|
||||
[LoadBalancer]
|
||||
lb-version=$LBAAS_VERSION
|
||||
subnet-id=$SUBNET_ID
|
||||
|
@ -128,6 +128,10 @@ parameters:
|
||||
description: OpenStack Tenant Name
|
||||
default: false
|
||||
|
||||
os_user_domain_name:
|
||||
type: string
|
||||
description: OpenStack User Domain Name (Domain-level authorization scope for keystone v3)
|
||||
|
||||
enable_proxy:
|
||||
type: string
|
||||
description: Whether or not to enable proxy settings
|
||||
@ -314,6 +318,7 @@ resources:
|
||||
"$OS_PASSWORD": {get_param: os_password}
|
||||
"$OS_REGION_NAME": {get_param: os_region_name}
|
||||
"$OS_TENANT_NAME": {get_param: os_tenant_name}
|
||||
"$OS_USER_DOMAIN_NAME": {get_param: os_user_domain_name}
|
||||
"$LBAAS_VERSION": {get_param: lbaas_version}
|
||||
"$SUBNET_ID": {get_resource: fixed_subnet}
|
||||
"$FLOATING_NETWORK_ID": {get_attr: [kube_master_floating, floating_network_id]}
|
||||
@ -423,6 +428,7 @@ resources:
|
||||
os_password: {get_param: os_password}
|
||||
os_region_name: {get_param: os_region_name}
|
||||
os_tenant_name: {get_param: os_tenant_name}
|
||||
os_user_domain_name: {get_param: os_user_domain_name}
|
||||
enable_proxy: {get_param: enable_proxy }
|
||||
ftp_proxy: {get_param: ftp_proxy }
|
||||
http_proxy: {get_param: http_proxy }
|
||||
|
@ -66,6 +66,10 @@ parameters:
|
||||
description: OpenStack Tenant Name
|
||||
default: false
|
||||
|
||||
os_user_domain_name:
|
||||
type: string
|
||||
description: OpenStack User Domain Name (Domain-level authorization scope for keystone v3)
|
||||
|
||||
enable_proxy:
|
||||
type: string
|
||||
description: Whether or not to enable proxy settings
|
||||
@ -217,6 +221,7 @@ resources:
|
||||
"$OS_PASSWORD": {get_param: os_password}
|
||||
"$OS_REGION_NAME": {get_param: os_region_name}
|
||||
"$OS_TENANT_NAME": {get_param: os_tenant_name}
|
||||
"$OS_USER_DOMAIN_NAME": {get_param: os_user_domain_name}
|
||||
"$role": "kubernetes-pool"
|
||||
"$cluster_cidr": {get_param: cluster_cidr}
|
||||
|
||||
|
@ -224,6 +224,7 @@ function run-heat-script() {
|
||||
--parameter os_password=${OS_PASSWORD} \
|
||||
--parameter os_region_name=${OS_REGION_NAME} \
|
||||
--parameter os_tenant_name=${OS_TENANT_NAME} \
|
||||
--parameter os_user_domain_name=${OS_USER_DOMAIN_NAME} \
|
||||
--parameter enable_proxy=${ENABLE_PROXY} \
|
||||
--parameter ftp_proxy="${FTP_PROXY}" \
|
||||
--parameter http_proxy="${HTTP_PROXY}" \
|
||||
|
Loading…
Reference in New Issue
Block a user