From b70d86b3ce1946d5890a62ac3a68e24831404623 Mon Sep 17 00:00:00 2001 From: meldafrawi Date: Thu, 27 Feb 2020 01:16:36 +0200 Subject: [PATCH] Chart: change frontend service to type ClusterIP Signed-off-by: meldafrawi --- chart/templates/deployment-ui.yaml | 2 ++ chart/values.yaml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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: ""