From 1005769100506408a9fb1607418cc8996ef6cdf3 Mon Sep 17 00:00:00 2001 From: Vasyl Saienko Date: Thu, 15 Aug 2019 08:48:01 +0000 Subject: [PATCH] Honor manifests:ingress_registry flag The patch fixes issue when ingress for glance registry is created when manifests:ingress_registry is set to false. Change-Id: I8e54c73b3924ea292e18aa1e837d0e10b51e3876 --- glance/templates/ingress-registry.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glance/templates/ingress-registry.yaml b/glance/templates/ingress-registry.yaml index 5b6790d7b4..49d911c2c0 100644 --- a/glance/templates/ingress-registry.yaml +++ b/glance/templates/ingress-registry.yaml @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */}} -{{- if and .Values.manifests.ingress_api .Values.network.registry.ingress.public }} +{{- if and .Values.manifests.ingress_registry .Values.network.registry.ingress.public }} {{- $ingressOpts := dict "envAll" . "backendService" "registry" "backendServiceType" "image_registry" "backendPort" "g-reg" -}} {{ $ingressOpts | include "helm-toolkit.manifests.ingress" }} {{- end }}