Skip to content

Commit

Permalink
GH-14 Support NodePort (Resolve #14)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzikoysk authored Apr 12, 2024
1 parent 3c1bcc3 commit 9dd6966
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/reposilite/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@ spec:
targetPort: http
protocol: TCP
name: http
{{- if (and (contains "NodePort" .Values.service.type) (not (empty .Values.service.nodePort))) }}
nodePort: {{ .Values.service.nodePort }}
{{- end }

This comment has been minimized.

Copy link
@cameronbraid

cameronbraid Apr 13, 2024

Contributor

this is broken .. need an additional }

selector:
{{- include "reposilite.selectorLabels" . | nindent 4 }}

0 comments on commit 9dd6966

Please sign in to comment.