Skip to content

Commit

Permalink
chore: adding if around nodePort for a bit safer
Browse files Browse the repository at this point in the history
Signed-off-by: Trayan Azarov <[email protected]>
  • Loading branch information
tazarov committed Dec 27, 2024
1 parent 86ff95e commit ca8679a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/chromadb-chart/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ spec:
targetPort: {{ .Values.chromadb.serverHttpPort }}
protocol: TCP
name: http
{{- if .Values.service.nodePort }}
nodePort: {{ .Values.service.nodePort }}
{{- end }}
selector:
{{- include "chart.selectorLabels" . | nindent 4 }}

0 comments on commit ca8679a

Please sign in to comment.