This is an automated email from the ASF dual-hosted git repository.
adutra pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git
The following commit(s) were added to refs/heads/main by this push:
new c45e468b1 Helm chart: fix nodePort rendering in service.yaml (#3791)
c45e468b1 is described below
commit c45e468b13b2a3ac8ebdc12435ce7437c8f30859
Author: Alexandre Dutra <[email protected]>
AuthorDate: Tue Feb 17 19:36:58 2026 +0100
Helm chart: fix nodePort rendering in service.yaml (#3791)
---
helm/polaris/templates/service.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/helm/polaris/templates/service.yaml
b/helm/polaris/templates/service.yaml
index 41166010f..a44486a06 100644
--- a/helm/polaris/templates/service.yaml
+++ b/helm/polaris/templates/service.yaml
@@ -39,7 +39,7 @@ spec:
{{- if .targetPort }}
targetPort: {{ .targetPort }}
{{- end }}
- {{- if and (eq $.Values.service.type "NodePort") .nodePort }}
+ {{- if .nodePort }}
nodePort: {{ .nodePort }}
{{- end }}
protocol: {{ default "TCP" .protocol }}