Is your feature request related to a problem? Please describe.
Not being able to add annotations to the bootstrap job makes the pod to timeout in a K8s cluster with Consul and configured to inject sidecars bu default (connectInject.enabled=true)
Describe the solution you'd like
Adding the capability to add annotations to the pod template for the bootstrap job, so you can add "consul.hashicorp.com/connect-inject": "false" to avoid envoy sidecar injection, which makes sense because there is no service to add into the mesh.
Describe alternatives you've considered
Not using Consul connect by default (connectInject.enabled=false), but this makes mandatory to add annotations to all the rest of the deployments in the cluster. This does not scale if all services by default should be part of the mesh.
Explain any additional use-cases
Any other case that could require default annotations for metrics or auditing in the cluster.
Is your feature request related to a problem? Please describe. Not being able to add annotations to the
bootstrap job
makes the pod to timeout in a K8s cluster with Consul and configured to inject sidecars bu default (connectInject.enabled=true
)Describe the solution you'd like Adding the capability to add annotations to the pod template for the
bootstrap job
, so you can add"consul.hashicorp.com/connect-inject": "false"
to avoid envoy sidecar injection, which makes sense because there is no service to add into the mesh.Describe alternatives you've considered Not using Consul connect by default (
connectInject.enabled=false
), but this makes mandatory to add annotations to all the rest of the deployments in the cluster. This does not scale if all services by default should be part of the mesh.Explain any additional use-cases Any other case that could require default annotations for metrics or auditing in the cluster.