Skip to content

Commit

Permalink
Allow the definition of allowed networks for isolated clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Nov 20, 2023
1 parent cf00b12 commit 3b80ac4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/v2/types_firewall.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ type FirewallSpec struct {
DNSServerAddress string `json:"dnsServerAddress,omitempty"`
// DNSPort specifies port to which DNS proxy should be bound
DNSPort *uint `json:"dnsPort,omitempty"`

// AllowedExternalNetworks defines which networks are allowed to connect to, and allow incoming traffic from.
// By default, defined by an empty slice, all external networks are allowed.
// The node network is always allowed.
AllowedExternalNetworks []string `json:"allowedExternalNetworks,omitempty"`
}

// FirewallTemplateSpec describes the data a firewall should have when created from a template
Expand Down
5 changes: 5 additions & 0 deletions api/v2/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3b80ac4

Please sign in to comment.