File tree Expand file tree Collapse file tree 3 files changed +17
-4
lines changed
charts/whatsapp-proxy-chart/templates Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 6868 containerPort : 5222
6969 protocol : TCP
7070 {{- end}}
71+ {{- if .Values.service.media_port }}
72+ - name : media
73+ containerPort : 587
74+ protocol : TCP
75+ {{- end}}
76+ {{- if .Values.service.media_proxy_port}}
77+ - name : media-proxy
78+ containerPort : 7777
79+ protocol : TCP
80+ {{- end}}
7181 {{- if .Values.service.stats_port }}
7282 - name : stats
7383 containerPort : 8199
Original file line number Diff line number Diff line change 33# License found in the LICENSE file in the root directory
44# of this source tree.
55{{- if .Values.autoscaling.enabled }}
6- apiVersion : autoscaling/v2beta1
6+ apiVersion : autoscaling/v2
77kind : HorizontalPodAutoscaler
88metadata :
99 name : {{ include "whatsapp-proxy-chart.fullname" . }}
@@ -21,12 +21,16 @@ spec:
2121 - type : Resource
2222 resource :
2323 name : cpu
24- targetAverageUtilization : {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
24+ target :
25+ type : Utilization
26+ averageUtilization : {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
2527 {{- end }}
2628 {{- if .Values.autoscaling.targetMemoryUtilizationPercentage }}
2729 - type : Resource
2830 resource :
2931 name : memory
30- targetAverageUtilization : {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
32+ target :
33+ type : Utilization
34+ averageUtilization : {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
3135 {{- end }}
3236{{- end }}
Original file line number Diff line number Diff line change 6464 protocol : TCP
6565 name : media
6666 {{- end}}
67-
6867 {{- if .Values.service.media_proxy_port }}
6968 - port : {{ .Values.service.media_proxy_port }}
7069 targetPort : 7777
You can’t perform that action at this time.
0 commit comments