diff --git a/chart/templates/deployment-ui.yaml b/chart/templates/deployment-ui.yaml index 694fe19..f91327a 100644 --- a/chart/templates/deployment-ui.yaml +++ b/chart/templates/deployment-ui.yaml @@ -49,4 +49,6 @@ spec: targetPort: http {{- if .Values.service.ui.nodePort }} nodePort: {{ .Values.service.ui.nodePort }} + {{- else }} + nodePort: null {{- end }} diff --git a/chart/values.yaml b/chart/values.yaml index d9f62d2..87c3dfb 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -13,8 +13,8 @@ image: service: ui: - type: LoadBalancer - nodePort: "" + type: ClusterIP + nodePort: null manager: type: ClusterIP nodePort: ""