Skip to content

Commit 994e8ef

Browse files
authored
refactor: rename tunnel to vpn (#3138)
1 parent 19226f5 commit 994e8ef

File tree

4 files changed

+25
-25
lines changed

4 files changed

+25
-25
lines changed

chart/values.schema.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3376,9 +3376,9 @@
33763376
"$ref": "#/$defs/PrivateNodesAutoNodes",
33773377
"description": "AutoNodes stores Auto Nodes configuration static and dynamic NodePools managed by Karpenter"
33783378
},
3379-
"tunnel": {
3380-
"$ref": "#/$defs/PrivateNodesTunnel",
3381-
"description": "Tunnel holds configuration for the private nodes tunnel. This can be used to connect the private nodes to the control plane or\nconnect the private nodes to each other if they are not running in the same network. Platform connection is required for the tunnel to work."
3379+
"vpn": {
3380+
"$ref": "#/$defs/PrivateNodesVPN",
3381+
"description": "VPN holds configuration for the private nodes vpn. This can be used to connect the private nodes to the control plane or\nconnect the private nodes to each other if they are not running in the same network. Platform connection is required for the vpn to work."
33823382
}
33833383
},
33843384
"additionalProperties": false,
@@ -3406,25 +3406,25 @@
34063406
"type": "object",
34073407
"description": "PrivateNodesAutoNodes defines auto nodes"
34083408
},
3409-
"PrivateNodesTunnel": {
3409+
"PrivateNodesVPN": {
34103410
"properties": {
34113411
"enabled": {
34123412
"type": "boolean",
3413-
"description": "Enabled defines if the private nodes tunnel should be enabled."
3413+
"description": "Enabled defines if the private nodes vpn should be enabled."
34143414
},
34153415
"nodeToNode": {
3416-
"$ref": "#/$defs/PrivateNodesTunnelNodeToNode",
3417-
"description": "NodeToNode holds configuration for the node to node tunnel. This can be used to connect the private nodes to each other if they are not running in the same network."
3416+
"$ref": "#/$defs/PrivateNodesVPNNodeToNode",
3417+
"description": "NodeToNode holds configuration for the node to node vpn. This can be used to connect the private nodes to each other if they are not running in the same network."
34183418
}
34193419
},
34203420
"additionalProperties": false,
34213421
"type": "object"
34223422
},
3423-
"PrivateNodesTunnelNodeToNode": {
3423+
"PrivateNodesVPNNodeToNode": {
34243424
"properties": {
34253425
"enabled": {
34263426
"type": "boolean",
3427-
"description": "Enabled defines if the node to node tunnel should be enabled."
3427+
"description": "Enabled defines if the node to node vpn should be enabled."
34283428
}
34293429
},
34303430
"additionalProperties": false,

chart/values.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -819,14 +819,14 @@ privateNodes:
819819
# Karpenter is used under the hood to handle the scheduling of the nodes.
820820
dynamic: []
821821

822-
# Tunnel holds configuration for the private nodes tunnel. This can be used to connect the private nodes to the control plane or
823-
# connect the private nodes to each other if they are not running in the same network. Platform connection is required for the tunnel to work.
824-
tunnel:
825-
# Enabled defines if the private nodes tunnel should be enabled.
822+
# VPN holds configuration for the private nodes vpn. This can be used to connect the private nodes to the control plane or
823+
# connect the private nodes to each other if they are not running in the same network. Platform connection is required for the vpn to work.
824+
vpn:
825+
# Enabled defines if the private nodes vpn should be enabled.
826826
enabled: false
827-
# NodeToNode holds configuration for the node to node tunnel. This can be used to connect the private nodes to each other if they are not running in the same network.
827+
# NodeToNode holds configuration for the node to node vpn. This can be used to connect the private nodes to each other if they are not running in the same network.
828828
nodeToNode:
829-
# Enabled defines if the node to node tunnel should be enabled.
829+
# Enabled defines if the node to node vpn should be enabled.
830830
enabled: false
831831

832832
# Deploy holds configuration for the deployment of vCluster.

config/config.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ type PrivateNodes struct {
112112
// AutoNodes stores Auto Nodes configuration static and dynamic NodePools managed by Karpenter
113113
AutoNodes PrivateNodesAutoNodes `json:"autoNodes,omitempty"`
114114

115-
// Tunnel holds configuration for the private nodes tunnel. This can be used to connect the private nodes to the control plane or
116-
// connect the private nodes to each other if they are not running in the same network. Platform connection is required for the tunnel to work.
117-
Tunnel PrivateNodesTunnel `json:"tunnel,omitempty"`
115+
// VPN holds configuration for the private nodes vpn. This can be used to connect the private nodes to the control plane or
116+
// connect the private nodes to each other if they are not running in the same network. Platform connection is required for the vpn to work.
117+
VPN PrivateNodesVPN `json:"vpn,omitempty"`
118118
}
119119

120120
type CloudControllerManager struct {
@@ -124,16 +124,16 @@ type CloudControllerManager struct {
124124
Enabled bool `json:"enabled,omitempty"`
125125
}
126126

127-
type PrivateNodesTunnel struct {
128-
// Enabled defines if the private nodes tunnel should be enabled.
127+
type PrivateNodesVPN struct {
128+
// Enabled defines if the private nodes vpn should be enabled.
129129
Enabled bool `json:"enabled,omitempty"`
130130

131-
// NodeToNode holds configuration for the node to node tunnel. This can be used to connect the private nodes to each other if they are not running in the same network.
132-
NodeToNode PrivateNodesTunnelNodeToNode `json:"nodeToNode,omitempty"`
131+
// NodeToNode holds configuration for the node to node vpn. This can be used to connect the private nodes to each other if they are not running in the same network.
132+
NodeToNode PrivateNodesVPNNodeToNode `json:"nodeToNode,omitempty"`
133133
}
134134

135-
type PrivateNodesTunnelNodeToNode struct {
136-
// Enabled defines if the node to node tunnel should be enabled.
135+
type PrivateNodesVPNNodeToNode struct {
136+
// Enabled defines if the node to node vpn should be enabled.
137137
Enabled bool `json:"enabled,omitempty"`
138138
}
139139

config/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ privateNodes:
443443
autoNodes:
444444
static: []
445445
dynamic: []
446-
tunnel:
446+
vpn:
447447
enabled: false
448448
nodeToNode:
449449
enabled: false

0 commit comments

Comments
 (0)