Skip to content

Commit

Permalink
Merge pull request #3642 from maralavi/deprecate-haproxy-with-vsphere…
Browse files Browse the repository at this point in the history
…-9.0

Deprecate haproxy with vSphere 9.0
  • Loading branch information
akutz authored Dec 20, 2024
2 parents d43d428 + 83aab93 commit ff82b3a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions vapi/namespace/namespace.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,8 @@ type AviConfigCreateSpec struct {
//
// See https://developer.vmware.com/apis/vsphere-automation/latest/vcenter/data-structures/NamespaceManagement/LoadBalancers/HAProxyConfigCreateSpec/
// Since 7.0u1:-
// Deprecated: HA Proxy is being deprecated in vSphere 9.0. Use
// Avi with vSphere networking, or NSX-T networking, instead.
type HAProxyConfigCreateSpec struct {
CertificateAuthorityChain string `json:"certificate_authority_chain"`
Password string `json:"password"`
Expand All @@ -367,8 +369,10 @@ type LoadBalancerProvider struct {

var (
UndefinedLoadBalancerProvider = LoadBalancerProvider{""}
HAProxyLoadBalancerProvider = LoadBalancerProvider{"HA_PROXY"}
AviLoadBalancerProvider = LoadBalancerProvider{"AVI"}
// Deprecated: HA Proxy is being deprecated in vSphere 9.0. Use
// Avi vSphere networking, or NSX-T networking, instead.
HAProxyLoadBalancerProvider = LoadBalancerProvider{"HA_PROXY"}
AviLoadBalancerProvider = LoadBalancerProvider{"AVI"}
)

func (v LoadBalancerProvider) String() string {
Expand Down

0 comments on commit ff82b3a

Please sign in to comment.