Open tyler-domitrovich opened 1 year ago
I think this should be taken one step further and have the ability to just generated random (sequential ports). I believe there was a similar request for Nomad side of things and it did not go far so I am not holding my breath here.
Community Note
Overview of the Issue
A static port must be specified in the
consul.hashicorp.com/connect-service-upstreams
annotation. A missing port should be caught by validation with a friendly error message. Currently the connect injector will panic.Reproduction Steps
'consul.hashicorp.com/connect-service-upstreams': '<svc-name>.svc'
Logs
Expected behavior
An error message should be logged or ideally the object should be rejected by the kube api.
Environment details
consul-k8s version: v1.2.0
Values.yaml:
Kubernetes versoin: v1.27.0 Running on EKS.