Skip to content

Commit

Permalink
assume workflows are enabled if external name service is defined (#92)
Browse files Browse the repository at this point in the history
* assume workflows are enabled if external name service is defined

* assume workflows are enabled for nx api as well

* increment version
  • Loading branch information
rarmatei authored Jan 19, 2024
1 parent 425bed3 commit a7171a7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/nx-cloud/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: nx-cloud
description: Nx Cloud Helm Chart
type: application
version: 0.12.2
version: 0.12.3
maintainers:
- name: nx
url: "https://nx.app/"
Expand Down
4 changes: 2 additions & 2 deletions charts/nx-cloud/templates/nx-cloud-frontend-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- if and .Values.nxCloudWorkflows.enabled .Values.nxCloudWorkflows.externalNameService }}
{{- if .Values.nxCloudWorkflows.externalNameService }}
- name: NX_CLOUD_WORKFLOW_CONTROLLER_ADDRESS
value: http://nx-cloud-workflow-controller-service:9000
{{- else if .Values.nxCloudWorkflows.enabled }}
- name: NX_CLOUD_WORKFLOW_CONTROLLER_ADDRESS
value: http://nx-cloud-workflow-controller-service.{{ .Values.nxCloudWorkflows.namespace }}.svc.cluster.local:9000
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/nx-cloud/templates/nx-cloud-nx-api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ spec:
- name: ACTIVEMQ_ADDRESS
value: tcp://nx-cloud-messagequeue:61616
{{- end }}
{{- if and .Values.nxCloudWorkflows.enabled .Values.nxCloudWorkflows.externalNameService }}
{{- if .Values.nxCloudWorkflows.externalNameService }}
- name: NX_CLOUD_WORKFLOW_CONTROLLER_ADDRESS
value: http://nx-cloud-workflow-controller-service:9000
{{- else if .Values.nxCloudWorkflows.enabled }}
Expand Down

0 comments on commit a7171a7

Please sign in to comment.