Added nodePort in port specs in values.yaml, and updated service-public.yaml accordingly

Change-Id: I224f9bcdb83596fbc5f37fdafe59c5aa64d99581
This commit is contained in:
ipatini 2024-04-21 14:15:57 +03:00
parent 2d4ebea121
commit 26d6dd7fdc
2 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,7 @@ spec:
- name: {{ .name }}
port: {{ .containerPort }}
targetPort: {{ .containerPort }}
nodePort: {{ .nodePort }}
protocol: {{ .protocol }}
{{- end }}
{{- end }}

View File

@ -95,6 +95,7 @@ ports:
containerPort: 8111
protocol: TCP
public: true
nodePort: 30111
- name: openwire
containerPort: 61616
protocol: TCP
@ -103,6 +104,7 @@ ports:
containerPort: 61617
protocol: TCP
public: true
nodePort: 31617
- name: stomp
containerPort: 61610
protocol: TCP
@ -111,6 +113,7 @@ ports:
containerPort: 2222
protocol: TCP
public: true
nodePort: 32222
env:
#