Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions api/core/v1alpha/tunnel_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ type TunnelNodeSpec struct {
// direction of the Agent).
// +optional
EgressGateway *EgressGatewaySpec `json:"egressGateway,omitempty"`

// Specifies the default upstream used when this tunnel is referenced without
// an explicit host and port to forward traffic to. If unspecified, the default
// upstream is "127.0.0.1:8080".
// +optional
DefaultUpstream string `json:"defaultUpstream,omitempty"`
}

type AgentStatus struct {
Expand Down
6 changes: 6 additions & 0 deletions api/core/v1alpha2/tunnel_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ type TunnelSpec struct {
// in the direction of the agent).
// +optional
EgressGateway *EgressGatewaySpec `json:"egressGateway,omitempty"`

// Specifies the default upstream used when this tunnel is referenced without
// an explicit host and port to forward traffic to. If unspecified, the default
// upstream is "127.0.0.1:8080".
// +optional
DefaultUpstream string `json:"defaultUpstream,omitempty"`
}

type TunnelCredentials struct {
Expand Down