Skip to content

Commit b49d784

Browse files
authored
feat: Add ability to set nodePort on internal-router service (#348)
1 parent e01a464 commit b49d784

File tree

1 file changed

+3
-0
lines changed
  • charts/gitops-runtime/templates/_components/internal-router

1 file changed

+3
-0
lines changed

charts/gitops-runtime/templates/_components/internal-router/_service.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ spec:
1212
targetPort: http
1313
protocol: TCP
1414
name: http
15+
{{- if .Values.service.nodePort }}
16+
nodePort: {{ .Values.service.nodePort }}
17+
{{- end }}
1518
selector:
1619
{{- include "internal-router.selectorLabels" . | nindent 4 }}
1720
{{- end }}

0 commit comments

Comments
 (0)