Skip to content

Commit

Permalink
Merge pull request #52 from nrwl/steve/feat/allow-messagequeue-overrides
Browse files Browse the repository at this point in the history
feat(templates): Add ability to override messagequeue image spec
  • Loading branch information
stevepentland authored May 17, 2023
2 parents 788a069 + 83dd55e commit f8a0d24
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 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.9.3
version: 0.10.0
maintainers:
- name: nx
url: "https://nx.app/"
Expand Down
7 changes: 7 additions & 0 deletions charts/nx-cloud/templates/_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,10 @@ Return proper aggregator image name
{{- define "nxCloud.images.aggregator.image" }}
{{- include "nxCloud.images.common" (dict "imageRoot" .Values.aggregator.image "global" .Values.global "image" .Values.image) }}
{{- end }}

{{/*
Return proper messagequeue image name
*/}}
{{- define "nxCloud.images.messagequeue.image" }}
{{- include "nxCloud.images.common" (dict "imageRoot" .Values.messagequeue.image "global" .Values.global "image" .Values.image) }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ spec:
spec:
containers:
- name: nx-cloud-messagequeue
image: nxprivatecloud/nx-cloud-messagequeue:latest
imagePullPolicy: Always
image: {{ include "nxCloud.images.messagequeue.image" . }}
imagePullPolicy: {{ .Values.messagequeue.image.pullPolicy | quote }}
ports:
- containerPort: 61616
name: tcp
Expand Down

0 comments on commit f8a0d24

Please sign in to comment.