Skip to content

Commit

Permalink
add loadbalancer max-shared-lb field
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Nemeti committed Oct 16, 2023
1 parent 74ff5bd commit af28926
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/cloudprovider/provider/openstack/types/cloudconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ use-octavia = {{ .LoadBalancer.UseOctavia | boolPtr }}
{{- if .LoadBalancer.EnableIngressHostname }}
enable-ingress-hostname = {{ .LoadBalancer.EnableIngressHostname }}
{{- end }}
{{- if .LoadBalancer.MaxSharedLB }}
max-shared-lb = {{ .LoadBalancer.MaxSharedLB }}
{{- end }}
{{- if .LoadBalancer.CreateMonitor }}
create-monitor = {{ .LoadBalancer.CreateMonitor }}
Expand Down Expand Up @@ -99,6 +102,7 @@ type LoadBalancerOpts struct {
UseOctavia *bool `gcfg:"use-octavia"`

EnableIngressHostname bool `gcfg:"enable-ingress-hostname"`
MaxSharedLB int `gcfg:"max-shared-lb"`
}

type BlockStorageOpts struct {
Expand Down

0 comments on commit af28926

Please sign in to comment.