diff --git a/charts/nebulous-activemq/Chart.yaml b/charts/nebulous-activemq/Chart.yaml index e39ef5c..02d4627 100644 --- a/charts/nebulous-activemq/Chart.yaml +++ b/charts/nebulous-activemq/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 +version: 0.2.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/nebulous-activemq/templates/service.yaml b/charts/nebulous-activemq/templates/service.yaml index 4a9651b..0f46774 100644 --- a/charts/nebulous-activemq/templates/service.yaml +++ b/charts/nebulous-activemq/templates/service.yaml @@ -8,14 +8,23 @@ spec: type: {{ .Values.service.type }} ports: - port: {{ .Values.service.guiPort }} + {{ with .Values.service.guiNodePort }} + nodePort: {{ . }} + {{ end }} targetPort: gui protocol: TCP name: gui - port: {{ .Values.service.activemqPort }} + {{ with .Values.service.activemqNodePort }} + nodePort: {{ . }} + {{ end }} targetPort: activemq protocol: TCP name: activemq - port: {{ .Values.service.amqpPort }} + {{ with .Values.service.amqpNodePort }} + nodePort: {{ . }} + {{ end }} targetPort: amqp protocol: TCP name: amqp