From 4f767ee39cc183049eeed3a8cd5b2a41c8712b10 Mon Sep 17 00:00:00 2001 From: Andrei Kvapil Date: Fri, 27 Dec 2024 19:12:53 +0100 Subject: [PATCH] Update vm-instance to not include vm-disk prefix (#548) Signed-off-by: Andrei Kvapil Signed-off-by: Andrei Kvapil --- packages/apps/versions_map | 3 ++- packages/apps/vm-instance/Chart.yaml | 4 ++-- packages/apps/vm-instance/templates/vm.yaml | 2 +- packages/apps/vm-instance/values.yaml | 4 ++-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/packages/apps/versions_map b/packages/apps/versions_map index 9c92aa88..c06e888a 100644 --- a/packages/apps/versions_map +++ b/packages/apps/versions_map @@ -102,7 +102,8 @@ virtual-machine 0.3.0 b908400 virtual-machine 0.4.0 4746d51 virtual-machine 0.5.0 HEAD vm-disk 0.1.0 HEAD -vm-instance 0.1.0 HEAD +vm-instance 0.1.0 ced8e5b9 +vm-instance 0.2.0 HEAD vpn 0.1.0 f642698 vpn 0.2.0 7151424 vpn 0.3.0 a2bcf100 diff --git a/packages/apps/vm-instance/Chart.yaml b/packages/apps/vm-instance/Chart.yaml index c8759037..06b32e2b 100644 --- a/packages/apps/vm-instance/Chart.yaml +++ b/packages/apps/vm-instance/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.1.0 +version: 0.2.0 # 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.1.0" +appVersion: "0.2.0" diff --git a/packages/apps/vm-instance/templates/vm.yaml b/packages/apps/vm-instance/templates/vm.yaml index 9518e00d..29cfb6a8 100644 --- a/packages/apps/vm-instance/templates/vm.yaml +++ b/packages/apps/vm-instance/templates/vm.yaml @@ -85,7 +85,7 @@ spec: {{- range .Values.disks }} - name: disk-{{ .name }} dataVolume: - name: {{ .name }} + name: vm-disk-{{ .name }} {{- end }} {{- if or .Values.sshKeys .Values.cloudInit }} - name: cloudinitdisk diff --git a/packages/apps/vm-instance/values.yaml b/packages/apps/vm-instance/values.yaml index ac347336..b7e2f83c 100644 --- a/packages/apps/vm-instance/values.yaml +++ b/packages/apps/vm-instance/values.yaml @@ -18,8 +18,8 @@ instanceProfile: ubuntu ## @param disks [array] List of disks to attach ## Example: ## disks: -## - name: vm-disk-example-system -## - name: vm-disk-example-data +## - name: example-system +## - name: example-data disks: [] ## @param resources.cpu The number of CPU cores allocated to the virtual machine