Skip to content

Commit ff47a5b

Browse files
committed
fix(helm): http connector service
1 parent 76e6184 commit ff47a5b

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

helm/charts/infra/templates/connector/deployment.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ spec:
6161
{{- toYaml .Values.connector.volumeMounts | nindent 12 }}
6262
{{- end }}
6363
ports:
64+
- name: http
65+
containerPort: {{ .Values.connector.config.addr.http }}
66+
protocol: TCP
6467
- name: https
6568
containerPort: {{ .Values.connector.config.addr.https }}
6669
protocol: TCP

helm/charts/infra/templates/connector/service.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ spec:
2626
sessionAffinity: {{ .Values.connector.service.sessionAffinity }}
2727
{{- end }}
2828
ports:
29+
- port: {{ .Values.connector.service.port }}
30+
name: {{ .Values.connector.service.portName }}
31+
targetPort: http
32+
protocol: TCP
33+
{{- if eq .Values.connector.service.type "NodePort" }}
34+
nodePort: {{ .Values.connector.service.nodePort }}
35+
{{- end }}
2936
- port: {{ .Values.connector.service.securePort }}
3037
name: {{ .Values.connector.service.securePortName }}
3138
targetPort: https

helm/charts/infra/values.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -1061,6 +1061,7 @@ connector:
10611061

10621062
## Connector container service ports
10631063
addr:
1064+
http: 9080
10641065
https: 9443
10651066
metrics: 9091
10661067

0 commit comments

Comments
 (0)