diff --git a/charts/openstack-cluster/templates/cluster-openstack.yaml b/charts/openstack-cluster/templates/cluster-openstack.yaml index dab09af..d4afda9 100644 --- a/charts/openstack-cluster/templates/cluster-openstack.yaml +++ b/charts/openstack-cluster/templates/cluster-openstack.yaml @@ -43,8 +43,10 @@ spec: {{- if .enableLoadBalancer }} apiServerLoadBalancer: enabled: true + {{- if .loadBalancerProvider }} provider: {{ .loadBalancerProvider }} {{- end }} + {{- end }} disableAPIServerFloatingIP: {{ not .associateFloatingIP }} {{- with .floatingIP }} diff --git a/charts/openstack-cluster/values.yaml b/charts/openstack-cluster/values.yaml index 3ace705..0c162f9 100644 --- a/charts/openstack-cluster/values.yaml +++ b/charts/openstack-cluster/values.yaml @@ -103,8 +103,9 @@ additionalPackages: [] apiServer: # Indicates whether to deploy a load balancer for the API server enableLoadBalancer: true - # Indicates what loadbalancer provider to use - loadBalancerProvider: ovn + # Indicates what loadbalancer provider to use. Default is amphora + loadBalancerProvider: + # Indicates whether to associate a floating IP with the API server associateFloatingIP: true # The specific floating IP to associate with the API server