Skip to content

Commit 515e365

Browse files
committed
Port mapping cleanup
1 parent 05471d3 commit 515e365

File tree

3 files changed

+26
-9
lines changed

3 files changed

+26
-9
lines changed

charts/whatsapp-proxy-chart/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type: application
1717
# This is the chart version. This version number should be incremented each time you make changes
1818
# to the chart and its templates, including the app version.
1919
# Versions are expected to follow Semantic Versioning (https://semver.org/)
20-
version: 1.0.3
20+
version: 1.1.0
2121

2222
# This is the version number of the application being deployed. This version number should be
2323
# incremented each time you make changes to the application. Versions are not expected to

charts/whatsapp-proxy-chart/templates/service.yaml

+16-1
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,24 @@ spec:
5454
{{- end}}
5555
{{- if .Values.service.stats_port }}
5656
- port: {{ .Values.service.stats_port }}
57-
targetPort: {{ .Values.service.stats_port }}
57+
targetPort: 8199
5858
protocol: TCP
5959
name: stats
6060
{{- end}}
61+
{{- if .Values.service.media_port }}
62+
- port: {{ .Values.service.media_port }}
63+
targetPort: 587
64+
protocl: TCP
65+
name: media
66+
{{- end}}
67+
68+
{{- if .Values.service.media_proxy_port }}
69+
- port: {{ .Values.service.media_proxy_port }}
70+
targetPort: 7777
71+
protocl: TCP
72+
name: media
73+
{{- end}}
74+
75+
6176
selector:
6277
{{- include "whatsapp-proxy-chart.selectorLabels" . | nindent 4 }}

charts/whatsapp-proxy-chart/values.yaml

+9-7
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,17 @@ securityContext: {}
4848
# runAsUser: 1000
4949

5050
service:
51-
type: ClusterIP
51+
type: LoadBalancer
5252
annotations: {}
5353
port: 8080
54-
# http_port: 80
55-
# https_port: 443
56-
# jabber_port: 5222
57-
http_proxy_port: 8080
58-
https_proxy_port: 8443
59-
jabber_proxy_port: 8222
54+
http_port: 80
55+
https_port: 443
56+
jabber_port: 5222
57+
media_port: 587
58+
# http_proxy_port: 8080
59+
# https_proxy_port: 8443
60+
# jabber_proxy_port: 8222
61+
# media_proxy_port: 7777
6062
# stats_port: 8199
6163

6264
ingress:

0 commit comments

Comments
 (0)