From e2e32096a31e5a565fbfa0fb9257357459d8055d Mon Sep 17 00:00:00 2001 From: Andrei Kvapil Date: Wed, 12 Feb 2025 14:03:10 +0100 Subject: [PATCH] Fix VM services selector (#627) Signed-off-by: Andrei Kvapil ## Summary by CodeRabbit - **Chores** - Updated deployment configurations with the latest application versions (0.8.1 and 0.5.1) to ensure improved stability and compatibility. - **Bug Fixes** - Enhanced service connectivity by refining the criteria used for routing requests to the correct application endpoints. Signed-off-by: Andrei Kvapil --- packages/apps/virtual-machine/Chart.yaml | 4 ++-- packages/apps/virtual-machine/templates/service.yaml | 2 +- packages/apps/vm-instance/Chart.yaml | 4 ++-- packages/apps/vm-instance/templates/service.yaml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/apps/virtual-machine/Chart.yaml b/packages/apps/virtual-machine/Chart.yaml index 859719e2..dedc9df0 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.0 +version: 0.8.1 # 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.0" +appVersion: "0.8.1" diff --git a/packages/apps/virtual-machine/templates/service.yaml b/packages/apps/virtual-machine/templates/service.yaml index eed8dbad..7840d2db 100644 --- a/packages/apps/virtual-machine/templates/service.yaml +++ b/packages/apps/virtual-machine/templates/service.yaml @@ -15,7 +15,7 @@ spec: externalTrafficPolicy: Local allocateLoadBalancerNodePorts: false selector: - {{- include "virtual-machine.labels" . | nindent 4 }} + {{- include "virtual-machine.selectorLabels" . | nindent 4 }} ports: {{- if eq .Values.externalMethod "WholeIP" }} - port: 65535 diff --git a/packages/apps/vm-instance/Chart.yaml b/packages/apps/vm-instance/Chart.yaml index f5f697a3..a54c1d39 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.5.0 +version: 0.5.1 # 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.5.0" +appVersion: "0.5.1" diff --git a/packages/apps/vm-instance/templates/service.yaml b/packages/apps/vm-instance/templates/service.yaml index eed8dbad..7840d2db 100644 --- a/packages/apps/vm-instance/templates/service.yaml +++ b/packages/apps/vm-instance/templates/service.yaml @@ -15,7 +15,7 @@ spec: externalTrafficPolicy: Local allocateLoadBalancerNodePorts: false selector: - {{- include "virtual-machine.labels" . | nindent 4 }} + {{- include "virtual-machine.selectorLabels" . | nindent 4 }} ports: {{- if eq .Values.externalMethod "WholeIP" }} - port: 65535