Skip to content

Commit

Permalink
Update service.yaml to check eq .Values.service.type "NodePort"
Browse files Browse the repository at this point in the history
  • Loading branch information
gauthier-labs authored Oct 31, 2024
1 parent e11ed97 commit fd49c81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/lakefs/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ spec:
ports:
- port: {{ .Values.service.port }}
targetPort: http
{{- if .Values.service.nodePort }}
{{- if and (or (eq .Values.service.type "NodePort") (eq .Values.service.type "LoadBalancer")) (not (empty .Values.service.nodePort)) }}
nodePort: {{ .Values.service.nodePort }}
{{- end }}
{{- end }}
protocol: TCP
name: http
selector:
Expand Down

0 comments on commit fd49c81

Please sign in to comment.