From 278e301f2c79aa3803b1d3de0d2fe6bbaec18213 Mon Sep 17 00:00:00 2001 From: Zhe Huang Date: Thu, 21 May 2020 12:55:21 -0400 Subject: [PATCH] Fix minor bug that create helm rendering error Signed-off-by: Zhe Huang Change-Id: Ifcceaef48742eb17c8651096e887a2a669b2e020 --- ric-aux/helm/mc-stack/charts/elasticsearch/templates/ingress.yaml | 4 ++-- ric-aux/helm/mc-stack/charts/kibana/templates/ingress.yaml | 4 ++-- ric-aux/helm/mc-stack/charts/logstash/templates/ingress.yaml | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ric-aux/helm/mc-stack/charts/elasticsearch/templates/ingress.yaml b/ric-aux/helm/mc-stack/charts/elasticsearch/templates/ingress.yaml index 47d0b726..00449834 100755 --- a/ric-aux/helm/mc-stack/charts/elasticsearch/templates/ingress.yaml +++ b/ric-aux/helm/mc-stack/charts/elasticsearch/templates/ingress.yaml @@ -13,8 +13,8 @@ # See the License for the specific language governing permissions and # # limitations under the License. # ################################################################################ - -{{- if .Values.ingress.enabled -}} +--- +{{ if .Values.ingress.enabled }} {{- $fullName := include "uname" . -}} {{- $servicePort := .Values.httpPort -}} {{- $ingressPath := .Values.ingress.path -}} diff --git a/ric-aux/helm/mc-stack/charts/kibana/templates/ingress.yaml b/ric-aux/helm/mc-stack/charts/kibana/templates/ingress.yaml index ea88416c..68bf1187 100755 --- a/ric-aux/helm/mc-stack/charts/kibana/templates/ingress.yaml +++ b/ric-aux/helm/mc-stack/charts/kibana/templates/ingress.yaml @@ -13,8 +13,8 @@ # See the License for the specific language governing permissions and # # limitations under the License. # ################################################################################ - -{{- if .Values.ingress.enabled -}} +--- +{{ if .Values.ingress.enabled }} {{- $fullName := include "fullname" . -}} {{- $servicePort := .Values.service.port -}} {{- $ingressPath := .Values.ingress.path -}} diff --git a/ric-aux/helm/mc-stack/charts/logstash/templates/ingress.yaml b/ric-aux/helm/mc-stack/charts/logstash/templates/ingress.yaml index 61e95c79..29bdde75 100755 --- a/ric-aux/helm/mc-stack/charts/logstash/templates/ingress.yaml +++ b/ric-aux/helm/mc-stack/charts/logstash/templates/ingress.yaml @@ -13,8 +13,9 @@ # See the License for the specific language governing permissions and # # limitations under the License. # ################################################################################ +--- -{{- if .Values.ingress.enabled -}} +{{ if .Values.ingress.enabled }} {{- $fullName := include "logstash.fullname" . -}} {{- $ingressPath := .Values.ingress.path -}} apiVersion: extensions/v1beta1 -- 2.16.6