Skip to content

Commit 8f2eb5c

Browse files
committed
[virtual-machine] Set PortList method by default
Signed-off-by: Andrei Kvapil <[email protected]>
1 parent ee1763c commit 8f2eb5c

11 files changed

Lines changed: 19 additions & 18 deletions

File tree

‎packages/apps/versions_map‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ tenant 1.8.0 160e4e2a
145145
tenant 1.9.0 728743db
146146
tenant 1.9.1 721c12a7
147147
tenant 1.9.2 HEAD
148+
tenant 1.9.2 HEAD
148149
virtual-machine 0.1.4 f2015d65
149150
virtual-machine 0.1.5 263e47be
150151
virtual-machine 0.2.0 c0685f43
@@ -159,7 +160,7 @@ virtual-machine 0.8.1 93c46161
159160
virtual-machine 0.8.2 de19450f
160161
virtual-machine 0.9.0 721c12a7
161162
virtual-machine 0.9.1 93bdf411
162-
virtual-machine 0.9.2 HEAD
163+
virtual-machine 0.10.0 HEAD
163164
vm-disk 0.1.0 d971f2ff
164165
vm-disk 0.1.1 HEAD
165166
vm-instance 0.1.0 1ec10165
@@ -170,7 +171,7 @@ vm-instance 0.4.1 0ab39f20
170171
vm-instance 0.5.0 3fa4dd3a
171172
vm-instance 0.5.1 de19450f
172173
vm-instance 0.6.0 721c12a7
173-
vm-instance 0.6.1 HEAD
174+
vm-instance 0.7.0 HEAD
174175
vpn 0.1.0 263e47be
175176
vpn 0.2.0 53f2365e
176177
vpn 0.3.0 6c5cf5bf

‎packages/apps/virtual-machine/Chart.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ type: application
1717
# This is the chart version. This version number should be incremented each time you make changes
1818
# to the chart and its templates, including the app version.
1919
# Versions are expected to follow Semantic Versioning (https://semver.org/)
20-
version: 0.9.2
20+
version: 0.10.0
2121

2222
# This is the version number of the application being deployed. This version number should be
2323
# incremented each time you make changes to the application. Versions are not expected to
2424
# follow Semantic Versioning. They should reflect the version the application is using.
2525
# It is recommended to use it with quotes.
26-
appVersion: 0.9.2
26+
appVersion: 0.10.0

‎packages/apps/virtual-machine/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ generate:
99
&& yq -i -o json ".properties.instanceProfile.optional=true | .properties.instanceProfile.enum = $${PREFERENCES}" values.schema.json
1010
yq -i -o json '.properties.externalPorts.items.type = "integer"' values.schema.json
1111
yq -i -o json '.properties.systemDisk.properties.image.enum = ["ubuntu", "cirros", "alpine", "fedora", "talos"]' values.schema.json
12-
yq -i -o json '.properties.externalMethod.enum = ["WholeIP", "PortList"]' values.schema.json
12+
yq -i -o json '.properties.externalMethod.enum = ["PortList", "WholeIP"]' values.schema.json

‎packages/apps/virtual-machine/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ virtctl ssh <user>@<vm>
3939
| Name | Description | Value |
4040
| ------------------------- | ---------------------------------------------------------------------------------------------------------- | ------------ |
4141
| `external` | Enable external access from outside the cluster | `false` |
42-
| `externalMethod` | specify method to passthrough the traffic to the virtual machine. Allowed values: `WholeIP` and `PortList` | `WholeIP` |
42+
| `externalMethod` | specify method to passthrough the traffic to the virtual machine. Allowed values: `WholeIP` and `PortList` | `PortList` |
4343
| `externalPorts` | Specify ports to forward from outside the cluster | `[]` |
4444
| `running` | Determines if the virtual machine should be running | `true` |
4545
| `instanceType` | Virtual Machine instance type | `u1.medium` |

‎packages/apps/virtual-machine/values.schema.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
"externalMethod": {
1111
"type": "string",
1212
"description": "specify method to passthrough the traffic to the virtual machine. Allowed values: `WholeIP` and `PortList`",
13-
"default": "WholeIP",
13+
"default": "PortList",
1414
"enum": [
15-
"WholeIP",
16-
"PortList"
15+
"PortList",
16+
"WholeIP"
1717
]
1818
},
1919
"externalPorts": {

‎packages/apps/virtual-machine/values.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
## @param externalMethod specify method to passthrough the traffic to the virtual machine. Allowed values: `WholeIP` and `PortList`
55
## @param externalPorts [array] Specify ports to forward from outside the cluster
66
external: false
7-
externalMethod: WholeIP
7+
externalMethod: PortList
88
externalPorts:
99
- 22
1010

‎packages/apps/vm-instance/Chart.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ type: application
1717
# This is the chart version. This version number should be incremented each time you make changes
1818
# to the chart and its templates, including the app version.
1919
# Versions are expected to follow Semantic Versioning (https://semver.org/)
20-
version: 0.6.1
20+
version: 0.7.0
2121

2222
# This is the version number of the application being deployed. This version number should be
2323
# incremented each time you make changes to the application. Versions are not expected to
2424
# follow Semantic Versioning. They should reflect the version the application is using.
2525
# It is recommended to use it with quotes.
26-
appVersion: 0.6.0
26+
appVersion: 0.7.0

‎packages/apps/vm-instance/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ generate:
99
PREFERENCES=$$(yq e '.metadata.name' -o=json -r ../../system/kubevirt-instancetypes/templates/preferences.yaml | yq 'split(" ") | . + [""]' -o json) \
1010
&& yq -i -o json ".properties.instanceProfile.optional=true | .properties.instanceProfile.enum = $${PREFERENCES}" values.schema.json
1111
yq -i -o json '.properties.externalPorts.items.type = "integer"' values.schema.json
12-
yq -i -o json '.properties.externalMethod.enum = ["WholeIP", "PortList"]' values.schema.json
12+
yq -i -o json '.properties.externalMethod.enum = ["PortList", "WholeIP"]' values.schema.json

‎packages/apps/vm-instance/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ virtctl ssh <user>@<vm>
3939
| Name | Description | Value |
4040
| ------------------ | ---------------------------------------------------------------------------------------------------------- | ----------- |
4141
| `external` | Enable external access from outside the cluster | `false` |
42-
| `externalMethod` | specify method to passthrough the traffic to the virtual machine. Allowed values: `WholeIP` and `PortList` | `WholeIP` |
42+
| `externalMethod` | specify method to passthrough the traffic to the virtual machine. Allowed values: `WholeIP` and `PortList` | `PortList` |
4343
| `externalPorts` | Specify ports to forward from outside the cluster | `[]` |
4444
| `running` | Determines if the virtual machine should be running | `true` |
4545
| `instanceType` | Virtual Machine instance type | `u1.medium` |

‎packages/apps/vm-instance/values.schema.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
"externalMethod": {
1111
"type": "string",
1212
"description": "specify method to passthrough the traffic to the virtual machine. Allowed values: `WholeIP` and `PortList`",
13-
"default": "WholeIP",
13+
"default": "PortList",
1414
"enum": [
15-
"WholeIP",
16-
"PortList"
15+
"PortList",
16+
"WholeIP"
1717
]
1818
},
1919
"externalPorts": {

0 commit comments

Comments
 (0)