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
This commit is contained in:
parent
ceca6ad96c
commit
34175d43af
@ -62,7 +62,7 @@ spec:
|
|||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ $ingressName }}
|
name: {{ printf "%s-%s" $ingressName "fqdn" }}
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: {{ index $envAll.Values.network $backendService "ingress" "classes" "cluster" | quote }}
|
kubernetes.io/ingress.class: {{ index $envAll.Values.network $backendService "ingress" "classes" "cluster" | quote }}
|
||||||
{{ toYaml (index $envAll.Values.network $backendService "ingress" "annotations") | indent 4 }}
|
{{ toYaml (index $envAll.Values.network $backendService "ingress" "annotations") | indent 4 }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user