From 68585098bf69c1bd631a9f152f70c69ae8cd789b Mon Sep 17 00:00:00 2001 From: pmariglia Date: Fri, 8 Mar 2024 09:02:29 -0500 Subject: [PATCH] add serviceAddress alongside serviceTarget --- charts/nx-cloud/templates/_helpers.tpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/nx-cloud/templates/_helpers.tpl b/charts/nx-cloud/templates/_helpers.tpl index 6e789e0..2183d58 100644 --- a/charts/nx-cloud/templates/_helpers.tpl +++ b/charts/nx-cloud/templates/_helpers.tpl @@ -100,9 +100,13 @@ Below are various little env snippets that multiple mainifests make use of {{- if eq .Values.nxCloudWorkflows.externalName ""}} - name: NX_CLOUD_WORKFLOW_CONTROLLER_ADDRESS value: http://{{ .Values.nxCloudWorkflows.name }}.{{ .Values.nxCloudWorkflows.workflowsNamespace }}.svc.cluster.local:{{ .Values.nxCloudWorkflows.port }} +- name: NX_CLOUD_CI_SERVER_ADDRESS + value: http://{{ .Values.nxCloudWorkflows.name }}.{{ .Values.nxCloudWorkflows.workflowsNamespace }}.svc.cluster.local:{{ .Values.nxCloudWorkflows.port }} {{- else }} - name: NX_CLOUD_WORKFLOW_CONTROLLER_ADDRESS value: http://{{ .Values.nxCloudWorkflows.name }}:{{ .Values.nxCloudWorkflows.port }} +- name: NX_CLOUD_CI_SERVER_ADDRESS + value: http://{{ .Values.nxCloudWorkflows.name }}:{{ .Values.nxCloudWorkflows.port }} {{- end }} {{- end }} {{- end }}