From: Zhe Huang Date: Thu, 21 May 2020 16:55:21 +0000 (-0400) Subject: Fix minor bug that create helm rendering error X-Git-Tag: f-release~107 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F89%2F3789%2F1;p=it%2Fdep.git Fix minor bug that create helm rendering error Signed-off-by: Zhe Huang Change-Id: Ifcceaef48742eb17c8651096e887a2a669b2e020 --- 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