Skip to content

Commit 4ed18a1

Browse files
committed
ops: Support setting NodePort in helm charts
1 parent 5f6c030 commit 4ed18a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deployment/kubernetes/charts/medcat-service-helm/templates/service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ spec:
1313
name: http
1414
{{- if (and (eq .Values.service.type "NodePort") ( .Values.service.nodePort)) }}
1515
nodePort: {{ .Values.service.nodePort }}
16-
{{- else }}
16+
{{- end }}
1717
selector:
1818
{{- include "medcat-service.selectorLabels" . | nindent 4 }}

deployment/kubernetes/charts/medcat-trainer-helm/templates/service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spec:
2929
- port: {{ .Values.service.port }}
3030
{{- if (and (eq .Values.service.type "NodePort") ( .Values.service.nodePort)) }}
3131
nodePort: {{ .Values.service.nodePort }}
32-
{{- else }}
32+
{{- end }}
3333
targetPort: http
3434
protocol: TCP
3535
name: http

0 commit comments

Comments
 (0)