Skip to content

Commit

Permalink
Deprecate haproxy with vSphere 9.0
Browse files Browse the repository at this point in the history
Signed-off-by: Marjan Alavi <marjan.alavi@broadcom.com>
Signed-off-by: marjan.alavi <marjan.alavi@broadcom.com>
  • Loading branch information
marjan.alavi committed Dec 5, 2024
1 parent ab30b51 commit 83aab93
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 83aab93

Please sign in to comment.