Skip to content

Commit

Permalink
support exposing the leafnode port in the service
Browse files Browse the repository at this point in the history
Signed-off-by: R.I.Pienaar <[email protected]>
  • Loading branch information
ripienaar committed Aug 25, 2020
1 parent 53ecd55 commit 672b23b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/broker/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: broker
version: 0.0.12
version: 0.0.13
appVersion: 0.14.0
description: Choria Network Broker
keywords:
Expand Down
2 changes: 1 addition & 1 deletion charts/broker/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
- port: {{ .Values.broker.servicePort }}
targetPort: 4222
protocol: TCP
{{- if .Values.broker.serviceLeafnodePort gt 0 }}
{{- if gt (int .Values.broker.serviceLeafnodePort) 0 }}
- port: {{ .Values.broker.serviceLeafnodePort }}
targetPort: 7422
protocol: TCP
Expand Down

0 comments on commit 672b23b

Please sign in to comment.