Skip to content

Commit

Permalink
Add nodePort to helm service.yaml (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
gauthier-labs authored Nov 26, 2024
1 parent 0cd88a3 commit e13e1a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/lakefs/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: lakefs
description: A Helm chart for running LakeFS on Kubernetes
type: application
version: 1.3.19
version: 1.3.20
appVersion: 1.43.0

home: https://lakefs.io
Expand Down
3 changes: 3 additions & 0 deletions charts/lakefs/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ spec:
ports:
- port: {{ .Values.service.port }}
targetPort: http
{{- if and (or (eq .Values.service.type "NodePort") (eq .Values.service.type "LoadBalancer")) (not (empty .Values.service.nodePort)) }}
nodePort: {{ .Values.service.nodePort }}
{{- end }}
protocol: TCP
name: http
selector:
Expand Down

0 comments on commit e13e1a5

Please sign in to comment.