Skip to content

Commit

Permalink
Merge pull request #20 from ripienaar/leafnodes.1
Browse files Browse the repository at this point in the history
support exposing the leafnode port in the service
  • Loading branch information
ripienaar authored Aug 25, 2020
2 parents 53ecd55 + 672b23b commit 4d4057b
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 4d4057b

Please sign in to comment.