Skip to content

Commit

Permalink
chore(charts): fix missing port and update messagequeue
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepentland committed Mar 1, 2024
1 parent a5c0d07 commit edf9699
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 12 deletions.
2 changes: 1 addition & 1 deletion charts/nx-agents/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: nx-agents
description: Nx Cloud Agents Helm Chart
type: application
version: 1.0.1
version: 1.0.2-rc.1
maintainers:
- name: nx
url: "https://nx.app/"
Expand Down
2 changes: 1 addition & 1 deletion charts/nx-agents/ci/basic-moreenv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ secret:
awsS3AccessKeyId: 'AWS_KEY'
awsS3SecretAccessKey: 'AWS_SECRET'

additionalManifests:
extraManifests:
secret:
apiVersion: v1
kind: Secret
Expand Down
2 changes: 1 addition & 1 deletion charts/nx-agents/ci/basic-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ secret:
awsS3AccessKeyId: 'AWS_KEY'
awsS3SecretAccessKey: 'AWS_SECRET'

additionalManifests:
extraManifests:
secret:
apiVersion: v1
kind: Secret
Expand Down
6 changes: 6 additions & 0 deletions charts/nx-cloud/ci/basic-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ aggregator:
memory: '0.5Mi'
cpu: '0.1'

messagequeue:
deployment:
port: 61616
service:
port: 61616

extraManifests:
secret:
apiVersion: v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ spec:
{{- toYaml .Values.fileServer.deployment.env | nindent 12 }}
{{- end }}
ports:
- containerPort: 5000
- containerPort: {{ .Values.fileServer.deployment.port }}
livenessProbe:
httpGet:
path: /file/uptime-check
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ spec:
env:
- name: ACTIVEMQ_TMP
value: /opt/activemq/tmp
{{- if .Values.messagequeue.deployment.env }}
{{- toYaml .Values.messagequeue.deployment.env | nindent 12 }}
{{- end }}
ports:
- containerPort: 61616
- containerPort: {{ .Values.messagequeue.deployment.port }}
name: tcp
volumeMounts:
- mountPath: /opt/activemq/data
Expand Down
8 changes: 4 additions & 4 deletions charts/nx-cloud/templates/nx-cloud-message-queue-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
apiVersion: v1
kind: Service
metadata:
name: nx-cloud-messagequeue
name: {{ .Values.messagequeue.service.name }}
labels:
app: nx-cloud-messagequeue
{{- include "nxCloud.app.labels" . | indent 4 }}
spec:
selector:
app: nx-cloud-messagequeue
type: ClusterIP
type: {{ .Values.messagequeue.service.type }}
ports:
- name: tcp
port: 61616
targetPort: 61616
port: {{ .Values.messagequeue.service.port }}
targetPort: {{ .Values.messagequeue.deployment.port }}
{{- end }}
18 changes: 15 additions & 3 deletions charts/nx-cloud/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ frontend:
env: []
service:
name: nx-cloud-frontend-service
type: NodePort
type: ClusterIP
port: 8080
annotations: {}
resources:
Expand All @@ -55,7 +55,7 @@ nxApi:
env: []
service:
name: nx-cloud-nx-api-service
type: NodePort
type: ClusterIP
port: 4203
annotations: {}
resources:
Expand All @@ -77,7 +77,7 @@ fileServer:
env: []
service:
name: nx-cloud-file-server-service
type: NodePort
type: ClusterIP
port: 8080
annotations: {}
resources:
Expand Down Expand Up @@ -116,6 +116,14 @@ messagequeue:
tag: latest
digest: ''
pullPolicy: Always
deployment:
port: 61616
env: []
service:
name: nx-cloud-messagequeue
type: ClusterIP
port: 61616
annotations: {}
resources:
limits: {}
requests: {}
Expand Down Expand Up @@ -185,6 +193,10 @@ saml:
auth:
enabled: false

# If you plan to deploy using your own self-signed certs, add them to a config map and provide the name here
# We will mount the configmap to the pods and import the certs contained within at `self-signed-cert.crt`
selfSignedCertConfigMap: ''

secret:
name: ''
nxCloudMongoServerEndpoint: ''
Expand Down

0 comments on commit edf9699

Please sign in to comment.