From 34175d43af3404054ac6d41d27b6fdf81fe82580 Mon Sep 17 00:00:00 2001 From: portdirect Date: Wed, 28 Mar 2018 10:27:21 -0400 Subject: [PATCH] Ingress: Give arbitary fqdns a different name from namespaced rules This PS gives ingress rules attached to the cluster wide ingress controller the suffix `-fqdn` to allow them to be used. Change-Id: I7de85e349fb609b8380070030579b9b4767e72d1 --- helm-toolkit/templates/manifests/_ingress.yaml.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-toolkit/templates/manifests/_ingress.yaml.tpl b/helm-toolkit/templates/manifests/_ingress.yaml.tpl index 5e640660eb..09ca8515f7 100644 --- a/helm-toolkit/templates/manifests/_ingress.yaml.tpl +++ b/helm-toolkit/templates/manifests/_ingress.yaml.tpl @@ -62,7 +62,7 @@ spec: apiVersion: extensions/v1beta1 kind: Ingress metadata: - name: {{ $ingressName }} + name: {{ printf "%s-%s" $ingressName "fqdn" }} annotations: kubernetes.io/ingress.class: {{ index $envAll.Values.network $backendService "ingress" "classes" "cluster" | quote }} {{ toYaml (index $envAll.Values.network $backendService "ingress" "annotations") | indent 4 }}