From f708dc2043155c3827991930a7a78331e7b7f3af Mon Sep 17 00:00:00 2001 From: Andrei Kvapil Date: Sat, 1 Mar 2025 11:08:03 +0100 Subject: [PATCH] VirtualMachine: Fix WholeIP enum check (#657) Signed-off-by: Andrei Kvapil ## Summary by CodeRabbit - **Chores** - Updated the virtual machine component to version 0.8.2, ensuring more reliable version references. - Standardized a configuration option's casing to maintain consistency. Signed-off-by: Andrei Kvapil --- packages/apps/versions_map | 3 ++- packages/apps/virtual-machine/Chart.yaml | 4 ++-- packages/apps/virtual-machine/Makefile | 2 +- packages/apps/virtual-machine/values.schema.json | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/apps/versions_map b/packages/apps/versions_map index 87994a31..ffeb8141 100644 --- a/packages/apps/versions_map +++ b/packages/apps/versions_map @@ -116,7 +116,8 @@ virtual-machine 0.6.0 0e728870 virtual-machine 0.7.0 af58018a virtual-machine 0.7.1 05857b95 virtual-machine 0.8.0 3fa4dd3 -virtual-machine 0.8.1 HEAD +virtual-machine 0.8.1 3fa4dd3a +virtual-machine 0.8.2 HEAD vm-disk 0.1.0 HEAD vm-instance 0.1.0 ced8e5b9 vm-instance 0.2.0 4f767ee3 diff --git a/packages/apps/virtual-machine/Chart.yaml b/packages/apps/virtual-machine/Chart.yaml index dedc9df0..22fb1c8c 100644 --- a/packages/apps/virtual-machine/Chart.yaml +++ b/packages/apps/virtual-machine/Chart.yaml @@ -17,10 +17,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.8.1 +version: 0.8.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.8.1" +appVersion: "0.8.2" diff --git a/packages/apps/virtual-machine/Makefile b/packages/apps/virtual-machine/Makefile index e1bc3a91..567a3813 100644 --- a/packages/apps/virtual-machine/Makefile +++ b/packages/apps/virtual-machine/Makefile @@ -8,4 +8,4 @@ generate: && yq -i -o json ".properties.instanceProfile.optional=true | .properties.instanceProfile.enum = $${PREFERENCES}" values.schema.json yq -i -o json '.properties.externalPorts.items.type = "integer"' values.schema.json yq -i -o json '.properties.systemDisk.properties.image.enum = ["ubuntu", "cirros", "alpine", "fedora", "talos"]' values.schema.json - yq -i -o json '.properties.externalMethod.enum = ["wholeIP", "PortList"]' values.schema.json + yq -i -o json '.properties.externalMethod.enum = ["WholeIP", "PortList"]' values.schema.json diff --git a/packages/apps/virtual-machine/values.schema.json b/packages/apps/virtual-machine/values.schema.json index d2c53544..02b60675 100644 --- a/packages/apps/virtual-machine/values.schema.json +++ b/packages/apps/virtual-machine/values.schema.json @@ -12,7 +12,7 @@ "description": "specify method to passthrough the traffic to the virtual machine. Allowed values: `WholeIP` and `PortList`", "default": "WholeIP", "enum": [ - "wholeIP", + "WholeIP", "PortList" ] },