Skip to content
Snippets Groups Projects
Unverified Commit db17ba54 authored by Cedric Hnyda's avatar Cedric Hnyda Committed by GitHub
Browse files

Add cluster-name to external-openstack-cloud-controller-manager (#7055)


If cluster-name is not set, the default value "kubernetes" is used.
The loadbalancees created by Kubernetes follow the format:
  kube_service_clusterName_serviceNamespace_serviceName
If 2 clusters create a loadbalancer for the same service in the same
namespace, they will share the same non-working loadbalancer.

Signed-off-by: default avatarCedric Hnyda <cedric.hnyda@itera.io>
parent c2f64a52
No related branches found
No related tags found
No related merge requests found
...@@ -42,6 +42,7 @@ spec: ...@@ -42,6 +42,7 @@ spec:
- --v=1 - --v=1
- --cloud-config=$(CLOUD_CONFIG) - --cloud-config=$(CLOUD_CONFIG)
- --cloud-provider=openstack - --cloud-provider=openstack
- --cluster-name={{ cluster_name }}
- --use-service-account-credentials=true - --use-service-account-credentials=true
- --address=127.0.0.1 - --address=127.0.0.1
{% for key, value in external_openstack_cloud_controller_extra_args.items() %} {% for key, value in external_openstack_cloud_controller_extra_args.items() %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment