When Deploying Consul Ingress gateway in Kubernetes does the Name in the consul configuration (hcl file) need to match the name of the k8s service (minus the prefix)? Or can they be complete different?
$ cat myingress.hcl
Kind = "ingress-gateway"
# does the following line need to match kubernetes service
Name = "ingress-gateway"
Listeners = [
Port = 8080
......
]
$ kubectl get services
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S)
consul-ingress-gateway <whatever> <blah> <blah> 8080/TCP,8443/TCP
......