diff --git a/docs/openstack.md b/docs/openstack.md index 9acca4ed88f..d15a3ef9cd1 100644 --- a/docs/openstack.md +++ b/docs/openstack.md @@ -118,10 +118,8 @@ The new cloud provider is configured to have Octavia by default in Kubespray. ```yaml external_openstack_network_ipv6_disabled: false - external_openstack_network_internal_networks: - - "" - external_openstack_network_public_networks: - - "" + external_openstack_network_internal_networks: [] + external_openstack_network_public_networks: [] ``` - You can override the default OpenStack metadata configuration (see [#6338](https://github.com/kubernetes-sigs/kubespray/issues/6338) for explanation): diff --git a/inventory/sample/group_vars/all/openstack.yml b/inventory/sample/group_vars/all/openstack.yml index ce22e12ee16..7835664e63c 100644 --- a/inventory/sample/group_vars/all/openstack.yml +++ b/inventory/sample/group_vars/all/openstack.yml @@ -29,10 +29,8 @@ # external_openstack_lbaas_manage_security_groups: false # external_openstack_lbaas_internal_lb: false # external_openstack_network_ipv6_disabled: false -# external_openstack_network_internal_networks: -# - "" -# external_openstack_network_public_networks: -# - "" +# external_openstack_network_internal_networks: [] +# external_openstack_network_public_networks: [] # external_openstack_metadata_search_order: "configDrive,metadataService" ## Application credentials to authenticate against Keystone API diff --git a/roles/kubespray-defaults/defaults/main.yaml b/roles/kubespray-defaults/defaults/main.yaml index fd388b49362..f62a9848c87 100644 --- a/roles/kubespray-defaults/defaults/main.yaml +++ b/roles/kubespray-defaults/defaults/main.yaml @@ -387,10 +387,8 @@ external_openstack_lbaas_monitor_timeout: "30s" external_openstack_lbaas_monitor_max_retries: "3" external_openstack_network_ipv6_disabled: false external_openstack_lbaas_use_octavia: false -external_openstack_network_internal_networks: -- "" -external_openstack_network_public_networks: -- "" +external_openstack_network_internal_networks: [] +external_openstack_network_public_networks: [] ## List of authorization modes that must be configured for ## the k8s cluster. Only 'AlwaysAllow', 'AlwaysDeny', 'Node' and