Skip to content

Commit

Permalink
add serviceAddress alongside serviceTarget
Browse files Browse the repository at this point in the history
  • Loading branch information
pmariglia committed Mar 8, 2024
1 parent df94cd2 commit 6858509
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/nx-cloud/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 6858509

Please sign in to comment.