Consul injector different search annotation


For the connector injector, can we add another annotation instead of ‘’: ‘true’?

Hi @jason123,

Consul does not support using a different annotation to inject sidecar proxies.

Could you provide a bit more information as to why you would like to use a different annotation name?

Hi @blake,

I’m using some other helm charts that have their own custom resource definitions and it seems like I can’t edit the annotations in the correct place so I thought it would be easier for consul to be able to have a way to append extra injector metadata that it could search for.

Hi @jason123,

You could alternatively enable connect inject only on namespaces with a particular label. This would eliminate the need to annotate individual pods in order to enable connect for that app. See for more info.

1 Like