File tree Expand file tree Collapse file tree 4 files changed +112
-3
lines changed Expand file tree Collapse file tree 4 files changed +112
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
2
2
name : nx-cloud
3
3
description : Nx Cloud Helm Chart
4
4
type : application
5
- version : 0.14 .1
5
+ version : 0.15.0-rc .1
6
6
maintainers :
7
7
- name : nx
8
8
url : " https://nx.app/"
Original file line number Diff line number Diff line change
1
+ global :
2
+ imageTag : ' 2308.22.7'
3
+
4
+ nxCloudAppURL : ' URL_TO_ACCESS_INGRESS_FROM_DEV_MACHINES'
5
+
6
+ secret :
7
+ name : ' cloudsecret'
8
+ nxCloudMongoServerEndpoint : ' NX_CLOUD_MONGO_SERVER_ENDPOINT'
9
+ adminPassword : ' ADMIN_PASSWORD'
10
+
11
+ # When creating new values files for testing, bring over the lines below. The generated environment is quite resource
12
+ # constrained and with the default settings from values.yaml some of the pods will fail to schedule.
13
+ frontend :
14
+ resources :
15
+ requests :
16
+ memory : ' 0.5Mi'
17
+ cpu : ' 0.1'
18
+
19
+ nxApi :
20
+ resources :
21
+ requests :
22
+ memory : ' 0.5Mi'
23
+ cpu : ' 0.1'
24
+
25
+ fileServer :
26
+ resources :
27
+ requests :
28
+ memory : ' 0.5Mi'
29
+ cpu : ' 0.1'
30
+
31
+ aggregator :
32
+ resources :
33
+ requests :
34
+ memory : ' 0.5Mi'
35
+ cpu : ' 0.1'
36
+
37
+ nxCloudWorkflows :
38
+ enabled : true
39
+ port : 9000
40
+ name : ' nx-cloud-workflow-controller-service'
41
+ workflowsNamespace : ' nx-cloud-workflows'
42
+
43
+ externalName : ' 192.0.2.22'
44
+ headless : true
45
+
46
+ extraManifests :
47
+ secret :
48
+ apiVersion : v1
49
+ kind : Secret
50
+ metadata :
51
+ name : cloudsecret
52
+ namespace : default
53
+ type : Opaque
54
+ stringData :
55
+ NX_CLOUD_MONGO_SERVER_ENDPOINT : " mongodb://127.0.0.1"
56
+ ADMIN_PASSWORD : " SOME_ADMIN_PASSWORD"
57
+ GITHUB_SECRET : " I_AM_A_SECRET_VALUE"
58
+ GH_CLIENT_ID : " I_AM_A_SECRET_VALUE"
59
+ GH_CLIENT_SECRET_VALUE : " I_AM_A_SECRET_VALUE"
60
+ SOME_SECRET_TOKEN : " I_AM_A_SECRET_VALUE"
61
+ GITLAB_ACCESS_TOKEN : " I_AM_A_SECRET_VALUE"
62
+ GITHUB_AUTH_CLIENT_ID : " A_GITHUB_ID"
63
+ GITHUB_AUTH_CLIENT_SECRET : " A_GITHUB_CLIENT_SECRET"
64
+ GITHUB_WEBHOOK_SECRET : " A_GITHUB_SECRET_VALUE"
65
+ GITHUB_AUTH_TOKEN : " A_GITHUB_SECRET_VALUE"
66
+ GITHUB_APP_PRIVATE_KEY : " A_GITHUB_SECRET_VALUE"
67
+ GITHUB_APP_ID : " A_GITHUB_SECRET_VALUE"
68
+ AWS_KEY : " MYAWSKEY"
69
+ AWS_SECRET : " SUPER_SECRET_AWS_SECRET"
Original file line number Diff line number Diff line change 1
- {{- if and .Values.nxCloudWorkflows.enabled .Values.nxCloudWorkflows.externalName }}
1
+ {{- if and .Values.nxCloudWorkflows.enabled .Values.nxCloudWorkflows.externalName}}
2
+ {{- if .Values.nxCloudWorkflows.headless }}
3
+ # Headless service and endpoint slice
4
+ ---
5
+ apiVersion : v1
6
+ kind : Service
7
+ metadata :
8
+ name : {{ .Values.nxCloudWorkflows.name }}
9
+ namespace : {{ .Values.global.namespace }}
10
+ labels :
11
+ app : nx-cloud-workflow-controller
12
+ {{- include "nxCloud.app.labels" . | indent 4 }}
13
+ spec :
14
+ ports :
15
+ - port : {{ .Values.nxCloudWorkflows.port }}
16
+ protocol : TCP
17
+ targetPort : {{ .Values.nxCloudWorkflows.port }}
18
+ ---
19
+ apiVersion : v1
20
+ kind : EndpointSlice
21
+ metadata :
22
+ name : {{ printf "%s-1" .Values.nxCloudWorkflows.name }}
23
+ namespace : {{ .Values.global.namespace }}
24
+ labels :
25
+ kubernetes.io/service-name : {{ .Values.nxCloudWorkflows.name }}
26
+ endpointslice.kubernetes.io/manage-by : helm
27
+ app : nx-cloud-workflow-controller
28
+ {{- include "nxCloud.app.labels" . | indent 4 }}
29
+ addressType : IPv4
30
+ ports :
31
+ - name : ' '
32
+ protocol : TCP
33
+ port : {{ .Values.nxCloudWorkflows.port }}
34
+ endpoints :
35
+ - addresses :
36
+ - {{ .Values.nxCloudWorkflows.externalName }}
37
+ {{- else }}
2
38
---
3
39
apiVersion : v1
4
40
kind : Service
14
50
externalName : {{ .Values.nxCloudWorkflows.externalName }}
15
51
{{- end }}
16
52
{{- end }}
53
+ {{- end }}
Original file line number Diff line number Diff line change @@ -135,7 +135,6 @@ nxCloudWorkflows:
135
135
name : ' nx-cloud-workflow-controller-service'
136
136
workflowsNamespace : ' nx-cloud-workflows'
137
137
138
-
139
138
# If externalName is left unset, the applications will look for ane existing service with the name defined
140
139
# by `nxCloudWorkflows.name` in the namespace `nxCloudWorkflows.workflowsNamespace`. Use this option if you are
141
140
# also running the nx-agents chart in the same cluster as this nx-cloud chart
@@ -145,6 +144,10 @@ nxCloudWorkflows:
145
144
# Use this option if your nx-agents are running in a different cluster than this nx-cloud chart
146
145
externalName : ' '
147
146
147
+ # If you find that an externalName service is not working as expected, you can set this to true to create a headless service
148
+ # which will create an endpoint group as an alternative
149
+ headless : false
150
+
148
151
# Deprecated, use nxApi.deployment.replicas and frontend.deployment.replicas
149
152
replicas :
150
153
frontend : 1
You can’t perform that action at this time.
0 commit comments