diff --git a/charts/rucio-ui/Chart.yaml b/charts/rucio-ui/Chart.yaml index 3caa13c..c9232ef 100644 --- a/charts/rucio-ui/Chart.yaml +++ b/charts/rucio-ui/Chart.yaml @@ -1,5 +1,5 @@ name: rucio-ui -version: 34.0.2 +version: 34.0.3 apiVersion: v1 description: A Helm chart to deploy webui servers for Rucio keywords: diff --git a/charts/rucio-ui/templates/service.yaml b/charts/rucio-ui/templates/service.yaml index 4c1436a..3901355 100644 --- a/charts/rucio-ui/templates/service.yaml +++ b/charts/rucio-ui/templates/service.yaml @@ -19,12 +19,12 @@ spec: targetPort: {{ .Values.service.targetPort }} protocol: {{ .Values.service.protocol }} name: {{ .Values.service.name }} +{{- if .Values.service.nodePort }} + nodePort: {{ .Values.service.nodePort }} +{{- end }} selector: app: {{ template "rucio.name" . }} release: {{ .Release.Name }} -{{- if .Values.service.nodePort }} - nodePort: {{ .Values.service.nodePort }} -{{- end }} {{- if .Values.service.loadBalancerIP }} loadBalancerIP: {{ .Values.service.loadBalancerIP }} {{- end }}