From e0994f8617040caf5130e69d28da22dd9ad53c0c Mon Sep 17 00:00:00 2001 From: Steve Pentland Date: Sun, 10 Mar 2024 19:02:58 -0400 Subject: [PATCH] chore(app): use proper api version for EndpointSlice --- charts/nx-cloud/Chart.yaml | 2 +- .../templates/nx-cloud-workflow-controller-service.yaml | 2 +- charts/nx-cloud/values.yaml | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/charts/nx-cloud/Chart.yaml b/charts/nx-cloud/Chart.yaml index 072b473..6be8b5f 100644 --- a/charts/nx-cloud/Chart.yaml +++ b/charts/nx-cloud/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: nx-cloud description: Nx Cloud Helm Chart type: application -version: 0.15.0-rc.2 +version: 0.15.0-rc.3 maintainers: - name: nx url: "https://nx.app/" diff --git a/charts/nx-cloud/templates/nx-cloud-workflow-controller-service.yaml b/charts/nx-cloud/templates/nx-cloud-workflow-controller-service.yaml index cdf56d3..87315c7 100644 --- a/charts/nx-cloud/templates/nx-cloud-workflow-controller-service.yaml +++ b/charts/nx-cloud/templates/nx-cloud-workflow-controller-service.yaml @@ -16,7 +16,7 @@ spec: protocol: TCP targetPort: {{ .Values.nxCloudWorkflows.port }} --- -apiVersion: v1 +apiVersion: discovery.k8s.io/v1 kind: EndpointSlice metadata: name: {{ printf "%s-1" .Values.nxCloudWorkflows.name }} diff --git a/charts/nx-cloud/values.yaml b/charts/nx-cloud/values.yaml index 20a389c..bb49e12 100644 --- a/charts/nx-cloud/values.yaml +++ b/charts/nx-cloud/values.yaml @@ -145,7 +145,8 @@ nxCloudWorkflows: externalName: '' # If you find that an externalName service is not working as expected, you can set this to true to create a headless service - # which will create an endpoint group as an alternative + # which will create an endpoint group as an alternative. Please continue to set `externalName` to the IP address + # you wish to direct traffic to as we will use it to populate the endpoint slice. headless: false # Deprecated, use nxApi.deployment.replicas and frontend.deployment.replicas