Skip to content

Commit

Permalink
Add AllowGlobalAccess support for InternalLoadBalancer.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwmay2012 committed Jan 14, 2025
1 parent f24b413 commit 525892b
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
8 changes: 8 additions & 0 deletions api/v1beta1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -371,4 +371,12 @@ type LoadBalancer struct {
// required for the Load Balancer, if not defined the first configured subnet will be
// used.
Subnet *string `json:"subnet,omitempty"`

// AllowGlobalAccess. If set to true, clients can access the internal
// passthrough Network Load Balancers, the regional internal Application Load
// Balancer, and the regional internal proxy Network Load Balancer from all
// regions. If false, only allows access from the local region the load
// balancer is located at. Note that for INTERNAL_MANAGED forwarding rules,
// this field cannot be changed after the forwarding rule is created.
AllowGlobalAccess bool `json:"allowGlobalAccess,omitempty"`
}
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,15 @@ spec:
description: InternalLoadBalancer is the configuration for an
Internal Passthrough Network Load Balancer.
properties:
allowGlobalAccess:
description: |-
AllowGlobalAccess. If set to true, clients can access the internal
passthrough Network Load Balancers, the regional internal Application Load
Balancer, and the regional internal proxy Network Load Balancer from all
regions. If false, only allows access from the local region the load
balancer is located at. Note that for INTERNAL_MANAGED forwarding rules,
this field cannot be changed after the forwarding rule is created.
type: boolean
name:
description: |-
Name is the name of the Load Balancer. If not set a default name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,15 @@ spec:
description: InternalLoadBalancer is the configuration
for an Internal Passthrough Network Load Balancer.
properties:
allowGlobalAccess:
description: |-
AllowGlobalAccess. If set to true, clients can access the internal
passthrough Network Load Balancers, the regional internal Application Load
Balancer, and the regional internal proxy Network Load Balancer from all
regions. If false, only allows access from the local region the load
balancer is located at. Note that for INTERNAL_MANAGED forwarding rules,
this field cannot be changed after the forwarding rule is created.
type: boolean
name:
description: |-
Name is the name of the Load Balancer. If not set a default name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,15 @@ spec:
description: InternalLoadBalancer is the configuration for an
Internal Passthrough Network Load Balancer.
properties:
allowGlobalAccess:
description: |-
AllowGlobalAccess. If set to true, clients can access the internal
passthrough Network Load Balancers, the regional internal Application Load
Balancer, and the regional internal proxy Network Load Balancer from all
regions. If false, only allows access from the local region the load
balancer is located at. Note that for INTERNAL_MANAGED forwarding rules,
this field cannot be changed after the forwarding rule is created.
type: boolean
name:
description: |-
Name is the name of the Load Balancer. If not set a default name
Expand Down

0 comments on commit 525892b

Please sign in to comment.