diff --git a/charts/lakefs/Chart.yaml b/charts/lakefs/Chart.yaml index 2f97572..4836b91 100644 --- a/charts/lakefs/Chart.yaml +++ b/charts/lakefs/Chart.yaml @@ -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 diff --git a/charts/lakefs/templates/service.yaml b/charts/lakefs/templates/service.yaml index d170dd8..0e37f4a 100644 --- a/charts/lakefs/templates/service.yaml +++ b/charts/lakefs/templates/service.yaml @@ -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: