From 038d242c1769c529a8af6b7b019058b0eafa3343 Mon Sep 17 00:00:00 2001 From: Masaki Muranaka Date: Sat, 8 Feb 2020 20:16:30 +0900 Subject: [PATCH] Hotfix. Signed-off-by: Masaki Muranaka --- .../kubernetes/che-devfile-registry/templates/ingress.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/deploy/kubernetes/che-devfile-registry/templates/ingress.yaml b/deploy/kubernetes/che-devfile-registry/templates/ingress.yaml index 494a23f7c..ca99eed12 100644 --- a/deploy/kubernetes/che-devfile-registry/templates/ingress.yaml +++ b/deploy/kubernetes/che-devfile-registry/templates/ingress.yaml @@ -1,3 +1,6 @@ +{{- define "hostname" -}} +{{- .Values.hostnameOverride | default (printf "che-plugin-registry-%s" .Release.Namespace) -}} +{{- end -}} # # Copyright (c) 2018 Red Hat, Inc. # This program and the accompanying materials are made @@ -6,9 +9,7 @@ # # SPDX-License-Identifier: EPL-2.0 # -{{- define "hostname" -}} -{{- .Values.hostnameOverride | default (printf "che-plugin-registry-%s" .Release.Namespace) -}} -{{- end -}} + apiVersion: extensions/v1beta1 kind: Ingress metadata: