Add bind address variable to OCCM (#9958)

pull/9962/head
Dominykas Norkus 2023-04-05 01:57:40 +03:00 committed by GitHub
parent dff58023d9
commit 5e2cb4d244
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -22,3 +22,4 @@ external_openstack_cacert: "{{ lookup('env','OS_CACERT') }}"
## arg2: "value2"
external_openstack_cloud_controller_extra_args: {}
external_openstack_cloud_controller_image_tag: "v1.25.3"
external_openstack_cloud_controller_bind_address: 127.0.0.1

View File

@ -46,7 +46,7 @@ spec:
- --cloud-provider=openstack
- --cluster-name={{ cluster_name }}
- --use-service-account-credentials=true
- --bind-address=127.0.0.1
- --bind-address={{ external_openstack_cloud_controller_bind_address }}
{% for key, value in external_openstack_cloud_controller_extra_args.items() %}
- "{{ '--' + key + '=' + value }}"
{% endfor %}